提交 f3f54b8f 编写于 作者: 蔡祥熠

Merge branch 'hotfix/widget_clean' into 'master'

Merge of hotfix/widget_clean 修复部件刷新可能的问题 to master

See merge request o2oa/o2oa!625
......@@ -41,6 +41,8 @@ MWF.xApplication.process.Xform.Widget = MWF.APPWidget = new Class(
},
clean: function(){
(this.modules || []).each(function(module){
if (this.form.all[module.json.id]) delete this.form.all[module.json.id];
if (this.form.forms[module.json.id])delete this.form.forms[module.json.id];
this.form.modules.erase(module);
}.bind(this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册