提交 56ec391d 编写于 作者: Mosher's avatar Mosher

树表格(增强)国际化更新

上级 9656ef2d
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
Object.assign(params,{viewparams:tempViewParams}); Object.assign(params,{viewparams:tempViewParams});
this.service.getNodes(tempContext,params).then((response: any) => { this.service.getNodes(tempContext,params).then((response: any) => {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
this.$Notice.error({ title: "错误", desc: response.info }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.info });
return; return;
} }
response.data.forEach((item: any) => { response.data.forEach((item: any) => {
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
if (response && response.status === 401) { if (response && response.status === 401) {
return; return;
} }
this.$Notice.error({ title: "错误", desc: response.info }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.info });
}); });
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册