|

楼主 |
发表于 2018-4-7 00:22:00
|
显示全部楼层
var result = this.changePassword(newValue, oldValue);
if (result.flag === false)
justep.Util.hint(result.message, {
type : 'danger',
parent : this.getRootNode()
});
else {
var me = this;
this.msg = new MsgDialog({
parentNode : me.getRootNode(),
type : 'OK',
message : "密码修改成功,后续请使用新密码登录!",
title:'修改密码提示'
});
this.msg.on('onOK', function(event) {
me.close(); 这句话报错,根本无法关闭窗口
}, me);
this.msg.show();
} |
|