From b380df2227b605408d746849ee6cfaf82471fed5 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期五, 06 九月 2024 17:22:07 +0800
Subject: [PATCH] 优惠券领取记录开发

---
 pages/marketing/point-mall/coupon/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pages/marketing/point-mall/coupon/index.vue b/pages/marketing/point-mall/coupon/index.vue
index d445c10..0d6fcc3 100644
--- a/pages/marketing/point-mall/coupon/index.vue
+++ b/pages/marketing/point-mall/coupon/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <el-bus-crud v-bind="tableConfig" />
+  <el-bus-crud ref="crud" v-bind="tableConfig" />
 </template>
 
 <script>
@@ -158,6 +158,7 @@
                 )
                 if (code === 0) {
                   this.$message.success('上架成功')
+                  this.$refs.crud.clearSelection()
                 }
               } catch (e) {
                 return false
@@ -184,6 +185,7 @@
                 )
                 if (code === 0) {
                   this.$message.success('下架成功')
+                  this.$refs.crud.clearSelection()
                 }
               } catch (e) {
                 return false

--
Gitblit v1.9.3