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; }); }, /** 搜索按钮操作 */