Explorar o código

保存wbs400后刷新页面

gangyj %!s(int64=3) %!d(string=hai) anos
pai
achega
9cdaf11f98
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
       }