src/views/doctor/check/index.vue
@@ -1549,10 +1549,13 @@ }); }) .catch((action) => { if(action === "cancel"){ this.$message({ type: "warning", message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面", message: "放弃保存并离开", }); } this.proName = this.Parentcheck.proName; this.nums = tab.name; this.proId = tab.name; @@ -1732,10 +1735,12 @@ }); }) .catch((action) => { if(action === "cancel"){ this.$message({ type: "warning", message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面", message: "放弃保存并离开", }); } this.proName = item.proName; this.nums = proParentId; this.proId = proParentId;