This commit is contained in:
Sakura9701
2022-11-18 13:37:00 +08:00
parent c3ad633a66
commit d8b675fbe6
16 changed files with 2314 additions and 9 deletions

View File

@@ -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="上架"