From f007dcb3e8f13daffd664c5ffc3aa05b22489aa8 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期五, 06 九月 2024 14:46:11 +0800
Subject: [PATCH] 限制用户优惠券下架之后不能再发布

---
 pages/marketing/coupon/user/index.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/pages/marketing/coupon/user/index.vue b/pages/marketing/coupon/user/index.vue
index 7940166..8c983d2 100644
--- a/pages/marketing/coupon/user/index.vue
+++ b/pages/marketing/coupon/user/index.vue
@@ -90,8 +90,7 @@
         extraButtons: [
           {
             text: '发布',
-            show: (row) =>
-              row.status === 'inactive' || row.status === 'expired',
+            show: (row) => row.status === 'inactive',
             atClick: async (row) => {
               try {
                 await this.$elBusUtil.confirm('确定要发布吗?')

--
Gitblit v1.9.3