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() } })