From 40df27ac2743083ed196d4cc91d285716a3fb660 Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期二, 01 八月 2023 10:33:37 +0800
Subject: [PATCH] 11
---
src/views/system/label/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/system/label/index.vue b/src/views/system/label/index.vue
index 2f291ed..513af3e 100644
--- a/src/views/system/label/index.vue
+++ b/src/views/system/label/index.vue
@@ -637,7 +637,7 @@
// 鏍囩鐘舵�佷慨鏀�
handleStatusChange(row) {
console.log(row.isupload);
- let text = row.isupload === "0" ? "鍚敤" : "鍋滅敤";
+ let text = row.isupload == 0 ? "鍋滅敤" : "鍚敤";
this.$modal
.confirm('纭瑕�"' + text + '""' + row.tagname + '"鏍囩鍚楋紵')
.then(function () {
@@ -647,7 +647,7 @@
this.$modal.msgSuccess(text + "鎴愬姛");
})
.catch(function () {
- row.isupload = row.isupload === "0" ? "1" : "0";
+ row.isupload = row.isupload == 0 ? 1 : 0;
});
},
/** 鎼滅储鎸夐挳鎿嶄綔 */
--
Gitblit v1.9.3