Browse Source

保存wbs400后刷新页面

gangyj 3 years ago
parent
commit
9cdaf11f98
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/manager/projectinfo/detail.vue

+ 2 - 0
src/views/manager/projectinfo/detail.vue

@@ -631,6 +631,7 @@ export default {
         }
         }
       } catch (error) {
       } catch (error) {
         this.btnLoad = false;
         this.btnLoad = false;
+        this.$router.go(0);
         return;
         return;
       }
       }
 
 
@@ -651,6 +652,7 @@ export default {
           await this.saveWbsTree();
           await this.saveWbsTree();
         }
         }
       } catch (error) {
       } catch (error) {
+        this.$router.go(0);
         this.btnLoad = false;
         this.btnLoad = false;
         return;
         return;
       }
       }