1
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
{{ (pageIndex - 1) * pageSize + scope.$index + 1 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column min-width="155px" prop="state" header-align="center" align="center" label="状态">
|
||||
<el-table-column min-width="155px
|
||||
" prop="state" header-align="center" align="center" label="状态">
|
||||
<template slot-scope="scope">
|
||||
<el-switch :active-value=1 :inactive-value=0 style="display: block" v-model="scope.row.state"
|
||||
@change="SwitchChange(scope.row)" active-color="#13ce66" inactive-color="#ff4949" active-text="上架"
|
||||
|
||||
Reference in New Issue
Block a user