Commit 88786aba authored by zhuangxinwei's avatar zhuangxinwei

状态居中

parent 4aeb27b5
...@@ -114,13 +114,15 @@ ...@@ -114,13 +114,15 @@
<div>State</div> <div>State</div>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <div style="text-align: center">
v-model="scope.row.flag" <el-switch
class="switchDisabledStyle" v-model="scope.row.flag"
inactive-value="0" class="switchDisabledStyle"
active-value="1" inactive-value="0"
@click.native="handleStatusChange(scope.row)" active-value="1"
/> @click.native="handleStatusChange(scope.row)"
/>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
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