|
@@ -631,7 +631,9 @@ export default {
|
|
|
}
|
|
|
} catch (error) {
|
|
|
this.btnLoad = false;
|
|
|
- this.$router.go(0);
|
|
|
+ if(this.activeType == '2'){
|
|
|
+ this.$router.go(0);
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -652,8 +654,10 @@ export default {
|
|
|
await this.saveWbsTree();
|
|
|
}
|
|
|
} catch (error) {
|
|
|
- this.$router.go(0);
|
|
|
this.btnLoad = false;
|
|
|
+ if(this.activeType == '2'){
|
|
|
+ this.$router.go(0);
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
|