浏览代码

no message

linwenxin 1 年之前
父节点
当前提交
a4a21b6ed9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/mallManagement/setActivity/index.vue

+ 3 - 0
src/views/mallManagement/setActivity/index.vue

@@ -545,6 +545,9 @@ export default {
           }
         },
         createActivity: {
+          conditions: ({ row, index, column }) => {
+            return !!~[0, 2].indexOf(row.status) || !!~['待生效','生效中'].indexOf(row.statusText)
+          },
           click: ({ row, index, column }) => {
             this.$router.push({
               name: "activityOrder",