We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_cancel() { this.hide(); if (typeof this.successBack == 'function') this.successBack({ 'cancel': true, 'confirm': false }) this.triggerEvent("success", { 'cancel': true, 'confirm': false }); },
这里的triggerEvent不应该调用success方法,建议改为fail或者其他合适的命名。 _confirm方法中triggerEvent才应该调用success
The text was updated successfully, but these errors were encountered:
好的
Sorry, something went wrong.
No branches or pull requests
_cancel() {
this.hide();
if (typeof this.successBack == 'function') this.successBack({
'cancel': true,
'confirm': false
})
this.triggerEvent("success", {
'cancel': true,
'confirm': false
});
},
这里的triggerEvent不应该调用success方法,建议改为fail或者其他合适的命名。
_confirm方法中triggerEvent才应该调用success
The text was updated successfully, but these errors were encountered: