Commit 641da33b by 潘际乾

check

parent 85079043
...@@ -107,10 +107,12 @@ export default { ...@@ -107,10 +107,12 @@ export default {
Utils.positioningErrorMsg(fieldErrors, fields); Utils.positioningErrorMsg(fieldErrors, fields);
const tab = Utils.positioningErrorMsg(fieldErrors, fields); const tab = Utils.positioningErrorMsg(fieldErrors, fields);
if (tab) { if (tab) {
if (tab.name !== this.getVM().tabVal) {
// tab切换之后,需出发tab-click的事件 // tab切换之后,需出发tab-click的事件
this.getVM().tabClick(tab); this.getVM().tabClick(tab);
} }
} }
}
}, },
exit() { exit() {
this.$confirm("您有未保存的数据,确定退出吗, 是否继续?", "提示", { this.$confirm("您有未保存的数据,确定退出吗, 是否继续?", "提示", {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment