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
Bug 描述 如何在数据模型res_datatype_create.js保存时,引入弹窗?在其他js如param_editor_core.js中点击事件可以通过new MessageBox({ data: { } }).$inject(document.body);引入弹窗
重现步骤
期望结果 期望在保存后出现弹窗
截图 有截图就是最好的。
软件环境
其他信息 其他信息可以填这里。
The text was updated successfully, but these errors were encountered:
看着应该能弹出的,看下DOM结构元素在不在,还有样式是否写对了,即是否在当前弹窗之上
Sorry, something went wrong.
应该是$ inject(document.body);的问题,当前窗口被销毁了,然后显示不出来,如何注入他的父节点的body上
No branches or pull requests
Bug 描述
如何在数据模型res_datatype_create.js保存时,引入弹窗?在其他js如param_editor_core.js中点击事件可以通过new MessageBox({
data: {
}
}).$inject(document.body);引入弹窗
重现步骤
NEJ.define(['pro/poplayer/messagebox'],function (message)
创建组件
pro.__handleSubmit = function () {
// 正在提交当中, 不用再次提交
if (this.__submit) {
return;
}
if (this.__formObj.$checkValidity()) {
this.__disableBtn(this.__formElem['save'], '提交中...', true);
var options = this.__getSubmitOptions();
new MessageBox({
data: {
}
}).$inject(document.body);
.......
};
期望结果
期望在保存后出现弹窗
截图
有截图就是最好的。
软件环境
其他信息
其他信息可以填这里。
The text was updated successfully, but these errors were encountered: