提交 5c32c4a0 编写于 作者: KK's avatar KK

多数据视图引擎调整

上级 0f9ea6f5
...@@ -275,9 +275,12 @@ export default class MDViewEngineBase extends ViewEngine { ...@@ -275,9 +275,12 @@ export default class MDViewEngineBase extends ViewEngine {
if (this.keyPSDEField && data[this.keyPSDEField] && !Object.is(data[this.keyPSDEField], '')) { if (this.keyPSDEField && data[this.keyPSDEField] && !Object.is(data[this.keyPSDEField], '')) {
Object.assign(loadParam, { [this.keyPSDEField]: data[this.keyPSDEField] }); Object.assign(loadParam, { [this.keyPSDEField]: data[this.keyPSDEField] });
} }
if (this.openData && this.isFunc(this.openData)) { if (this.openData && this.isFunc(this.openData)) {
this.openData([loadParam], [data], null, null, this.getMDCtrl()); if(this.view.viewparams.hasOwnProperty('userTaskId')){
this.openData([loadParam], [data],{userTaskId:this.view.viewparams['userTaskId']}, null, this.getMDCtrl());
}else{
this.openData([loadParam], [data], {}, null, this.getMDCtrl());
}
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册