| | |
| | | }); |
| | | }) |
| | | .catch((action) => { |
| | | this.$message({ |
| | | if(action === "cancel"){ |
| | | this.$message({ |
| | | type: "warning", |
| | | message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面", |
| | | message: "放弃保存并离开", |
| | | }); |
| | | } |
| | | |
| | | this.proName = this.Parentcheck.proName; |
| | | this.nums = tab.name; |
| | | this.proId = tab.name; |
| | |
| | | }); |
| | | }) |
| | | .catch((action) => { |
| | | this.$message({ |
| | | if(action === "cancel"){ |
| | | this.$message({ |
| | | type: "warning", |
| | | message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面", |
| | | message: "放弃保存并离开", |
| | | }); |
| | | } |
| | | this.proName = item.proName; |
| | | this.nums = proParentId; |
| | | this.proId = proParentId; |