|
@@ -44,7 +44,7 @@
|
|
|
>修改</el-button
|
|
|
>
|
|
|
<el-button type="text" @click="changeStatus(props.scope.row)">{{
|
|
|
- props.scope.row.goodsStatus === 1 ? "上架" : "下架"
|
|
|
+ props.scope.row.goodsStatus === 1 ? "下架" : "上架"
|
|
|
}}</el-button>
|
|
|
<el-button type="text" @click="del(props.scope.row)">删除</el-button>
|
|
|
</template>
|
|
@@ -399,7 +399,7 @@ export default {
|
|
|
if (!len) {
|
|
|
return this.$message.warning("请先勾选商品");
|
|
|
}
|
|
|
- let name = ["下架", "上架", "删除"][type];
|
|
|
+ let name = ["上架", "下架", "删除"][type];
|
|
|
this.$confirm(`此操作将所勾选的${len}条商品${name}, 是否继续?`, "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|