From 57a9d329bacf1596df90ee06b3671b764c297821 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 1 Mar 2022 15:23:02 +0800 Subject: [PATCH] BUG 27825 --- project/xiushan/apps/AppXsBanner/AppXsBanner.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/xiushan/apps/AppXsBanner/AppXsBanner.vue b/project/xiushan/apps/AppXsBanner/AppXsBanner.vue index 187a1386..bbd68197 100644 --- a/project/xiushan/apps/AppXsBanner/AppXsBanner.vue +++ b/project/xiushan/apps/AppXsBanner/AppXsBanner.vue @@ -233,10 +233,10 @@ export default { // 发布/取消发布 release(row) { this.$confirm('确定此操作?').then(() => { - var status = row.status == 1 ? '0' : '1' - this.instance.post(`/appbanner/setStatus?id=${row.id}&status=${status}`) - .then((res) => { + let status = row.status == 1 ? '0' : '1' + this.instance.post(`/appbanner/setStatus?id=${row.id}&status=${status}`).then((res) => { if (res?.code == 0) { + this.$message.success("操作成功!") this.getList() } })