소스 검색

保存wbs400后刷新页面

gangyj 3 년 전
부모
커밋
9cdaf11f98
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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) {
         this.btnLoad = false;
+        this.$router.go(0);
         return;
       }
 
@@ -651,6 +652,7 @@ export default {
           await this.saveWbsTree();
         }
       } catch (error) {
+        this.$router.go(0);
         this.btnLoad = false;
         return;
       }