From b898e42bd46726a0c25081ca79136911b4ca1b4c Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 27 四月 2026 22:26:34 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/gtzxinglijicun
---
admin/src/views/business/bannerList.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/admin/src/views/business/bannerList.vue b/admin/src/views/business/bannerList.vue
index 3fca071..af7e5ab 100644
--- a/admin/src/views/business/bannerList.vue
+++ b/admin/src/views/business/bannerList.vue
@@ -49,8 +49,8 @@
v-model="row.status"
active-color="#13ce66"
inactive-color="#ff4949"
- :active-value="1"
- :inactive-value="0"
+ :active-value="0"
+ :inactive-value="1"
></el-switch>
</template>
</el-table-column>
@@ -126,7 +126,7 @@
this.$refs.operaBannerEditWindow.open('缂栬緫杞挱鍥�', row)
},
handleStatusChange (val, row) {
- updateById({ id: row.id, status: val }).then(res => {
+ updateStatus({ id: row.id, status: val }).then(res => {
this.$tip.apiSuccess(res || '淇敼鎴愬姛')
}).catch(e => {
row.status = val === 1 ? 0 : 1
--
Gitblit v1.9.3