Browse Source

Merge commit '56036879f571ec96acd4bd4a037b7f6985e866f7' into gzb

gzb
guozhongbo 8 months ago
parent
commit
68b79d1e9a

+ 6
- 0
src/views/platformSection/regionManage/adminManage.vue View File

@@ -498,6 +498,9 @@ export default {
498 498
     },
499 499
     // 新建
500 500
     toAdd() {
501
+      if (this.adminInfo.timer) {
502
+        clearInterval(this.adminInfo.timer);
503
+      }
501 504
       this.adminInfo = {
502 505
         show: true,
503 506
         timer: null,
@@ -646,6 +649,9 @@ export default {
646 649
     },
647 650
     // 编辑
648 651
     toEdit(row) {
652
+      if (this.adminInfo.timer) {
653
+        clearInterval(this.adminInfo.timer);
654
+      }
649 655
       admin_detail({ adminid: row.adminid }).then((data) => {
650 656
         if (data.code === 0) {
651 657
           this.adminInfo = {

+ 0
- 1
src/views/platformSection/regionManage/regionManage.vue View File

@@ -498,7 +498,6 @@ export default {
498 498
     toAdd() {
499 499
       if (this.regionInfo.timer) {
500 500
         clearInterval(this.regionInfo.timer);
501
-        this.regionInfo.timer = null;
502 501
       }
503 502
       this.regionInfo = {
504 503
         show: true,

Loading…
Cancel
Save