Explorar el Código

保存wbs400后刷新页面

gangyj hace 3 años
padre
commit
9cdaf11f98
Se han modificado 1 ficheros con 2 adiciones y 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;
       }