linwenxin hai 1 ano
pai
achega
9e6fc96754
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()