xiejiebiao 2 years ago
parent
commit
b5c66f8c2a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/Marketing/goods/commodityManageMent/index.vue

+ 2 - 2
src/views/Marketing/goods/commodityManageMent/index.vue

@@ -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: "取消",