上下架,编辑

This commit is contained in:
faiz 2024-11-22 11:56:54 +08:00
parent eb7ae34837
commit d5edee3d96
1 changed files with 7 additions and 1 deletions

View File

@ -195,7 +195,12 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="status" label="上/下架" min-width="80"> <el-table-column
v-if="tableFrom.type != 1"
prop="status"
label="上/下架"
min-width="80"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch
v-model="scope.row.is_show" v-model="scope.row.is_show"
@ -233,6 +238,7 @@
<el-table-column label="操作" min-width="200" fixed="right"> <el-table-column label="操作" min-width="200" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<router-link <router-link
v-if="tableFrom.type != 1"
:to="{ :to="{
path: path:
roterPre + roterPre +