• 需求:回调函数change传自定义参数
      1. <template slot-scope="scope">
      2. <el-switch @change="switchChange($event,scope.row)"/>
      3. </template>
      4. //$event就是switch的当前状态值