hujunwei пре 2 година
родитељ
комит
fce133ab58
1 измењених фајлова са 4 додато и 6 уклоњено
  1. 4 6
      src/pages/main/leader/leaderTag.vue

+ 4 - 6
src/pages/main/leader/leaderTag.vue

@@ -233,12 +233,11 @@ export default {
       }).then((res) => {
         if (res.data.result == 0) {
           this.$notify({
-            title: "成功",
+            title: "保存成功",
             message: res.data.desc,
             type: "success",
           });
-          this.menuStatus = false;
-          location.reload();
+          this.setStatus = false;
         }
       });
     },
@@ -256,12 +255,11 @@ export default {
       }).then((res) => {
         if (res.data.result == 0) {
           this.$notify({
-            title: "成功",
+            title: "删除成功",
             message: res.data.desc,
             type: "success",
           });
-          this.menuStatus = false;
-          location.reload();
+          this.setStatus = false;
         }
       });
     },