提交 60e78b7f 编写于 作者: guangjun.yang's avatar guangjun.yang

输入确认问题

上级 2af22270
...@@ -98,18 +98,18 @@ export default { ...@@ -98,18 +98,18 @@ export default {
methods: { methods: {
beforeLeave(activeName, oldActiveName) { beforeLeave(activeName, oldActiveName) {
let rFlag = true; let rFlag = true;
this.gotoActiveName = activeName; // this.gotoActiveName = activeName;
if(activeName == 'second') { // if(activeName == 'second') {
if(this.sendChangeN > 2) { // if(this.sendChangeN > 2) {
this.isShowDialog = true; // this.isShowDialog = true;
rFlag = false; // rFlag = false;
} // }
} else if(activeName == 'first') { // } else if(activeName == 'first') {
if(this.pushChangeN > 2) { // if(this.pushChangeN > 2) {
this.isShowDialog = true; // this.isShowDialog = true;
rFlag = false; // rFlag = false;
} // }
} // }
return rFlag; return rFlag;
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册