Browse Source

报错提示

chenrui  3 years ago
parent
commit
1d66ed4eaf

+ 2 - 0
src/views/systemManagement/EditSystem/index.vue

@@ -412,6 +412,8 @@ export default {
                   this.$message.success("编辑成功");
                   this.$store.dispatch("tagsView/delView", this.$route);
                   that.$router.push("/LoginPolicy");
+                } else {
+                  this.$message.error(res.message);
                 }
                 resolve();
               })

+ 2 - 0
src/views/systemManagement/addSystem/index.vue

@@ -379,6 +379,8 @@ export default {
                   this.$message.success("新增成功");
                   this.$store.dispatch("tagsView/delView", this.$route);
                   that.$router.push("/LoginPolicy");
+                } else {
+                  this.$message.error(res.message);
                 }
                 resolve();
               })