提交 117d4511 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码

上级 17ac4434
...@@ -295,12 +295,10 @@ export class EditFormControlBase extends FormControlBase { ...@@ -295,12 +295,10 @@ export class EditFormControlBase extends FormControlBase {
}); });
} else { } else {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data.message }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data.message });
reject(response);
} }
return; return;
} else { } else {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: (this.$t('app.commonWords.sysException') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: (this.$t('app.commonWords.sysException') as string) });
reject(response);
} }
}); });
} }
......
...@@ -158,7 +158,7 @@ export class GradationTreegridexBase extends MainControlBase { ...@@ -158,7 +158,7 @@ export class GradationTreegridexBase extends MainControlBase {
}; };
let tempViewParams:any = JSON.parse(JSON.stringify(this.viewparams)); let tempViewParams:any = JSON.parse(JSON.stringify(this.viewparams));
let curNode:any = {}; let curNode:any = {};
Util.deepObjectMerge(curNode, task); this.$util.deepObjectMerge(curNode, task);
let tempContext:any = this.computecurNodeContext(curNode); let tempContext:any = this.computecurNodeContext(curNode);
if(curNode && curNode.srfparentdename) { if(curNode && curNode.srfparentdename) {
Object.assign(tempContext,{ srfparentdename: curNode.srfparentdename }); Object.assign(tempContext,{ srfparentdename: curNode.srfparentdename });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册