linwenxin il y a 1 an
Parent
commit
9e6fc96754
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/mallManagement/goods/newclassify_index/index.vue

+ 1 - 1
src/views/mallManagement/goods/newclassify_index/index.vue

@@ -161,7 +161,7 @@ export default {
             onConfirm={() => {
               changeNewclassify({
                 goodsNewsCategoryId: row.goodsNewsCategoryId,
-                status: row.status,
+                status: row.status ? 0 : 1,
               }).then(res => {
                 this.$message({ type: 'success', message: `${row.status ? "关闭" : "开启"}成功!` })
                 this.$refs.pageRef.refreshList()