From aad58640dcaab7bed4f9720b57bb7f0cc2c4e343 Mon Sep 17 00:00:00 2001
From: Sxile <3440626@qq.com>
Date: Fri, 17 Jul 2020 11:10:14 +0800
Subject: [PATCH] 翻转""为equals调用方,防止空指针异常
---
ruoyi-ui/src/views/system/dict/index.vue | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/ruoyi-ui/src/views/system/dict/index.vue b/ruoyi-ui/src/views/system/dict/index.vue
index 2954008..779c173 100644
--- a/ruoyi-ui/src/views/system/dict/index.vue
+++ b/ruoyi-ui/src/views/system/dict/index.vue
@@ -309,8 +309,6 @@
this.msgSuccess("修改成功");
this.open = false;
this.getList();
- } else {
- this.msgError(response.msg);
}
});
} else {
@@ -319,8 +317,6 @@
this.msgSuccess("新增成功");
this.open = false;
this.getList();
- } else {
- this.msgError(response.msg);
}
});
}
@@ -359,8 +355,6 @@
clearCache().then(response => {
if (response.code === 200) {
this.msgSuccess("清理成功");
- } else {
- this.msgError(response.msg);
}
});
}
--
Gitblit v1.9.2