Commit 7bba16da authored by miaojiale's avatar miaojiale

反向修改

parent d903e640
...@@ -685,8 +685,8 @@ ...@@ -685,8 +685,8 @@
<template v-if="column.type === 'switch'"> <template v-if="column.type === 'switch'">
<el-switch <el-switch
v-model="scope.row[column.value]" v-model="scope.row[column.value]"
:active-value="1" :active-value="0"
:inactive-value="0" :inactive-value="1"
@change="column.func(scope.row, scope.$index)" @change="column.func(scope.row, scope.$index)"
></el-switch> ></el-switch>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment