提交 072290d2 编写于 作者: Cano1997's avatar Cano1997

update: 代码表国际化

上级 6fb04445
...@@ -345,7 +345,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -345,7 +345,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
const handleChildData = (context:any,item:any,) =>{ const handleChildData = (context:any,item:any,) =>{
Object.assign(item,{srfappctx:context}); Object.assign(item,{srfappctx:context});
<#if node.getPSCodeList().getCodeListType() == 'STATIC'> <#if node.getPSCodeList().getCodeListType() == 'STATIC'>
Object.assign(item, { text: 'codelist.${node.getPSCodeList().codeName}.'+item.value }); Object.assign(item, { text: <@getNameLanguage node /> });
Object.assign(item, { isUseLangRes: true }); Object.assign(item, { isUseLangRes: true });
<#else> <#else>
Object.assign(item, { text: item.text }); Object.assign(item, { text: item.text });
......
...@@ -345,7 +345,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -345,7 +345,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
const handleChildData = (context:any,item:any,) =>{ const handleChildData = (context:any,item:any,) =>{
Object.assign(item,{srfappctx:context}); Object.assign(item,{srfappctx:context});
<#if node.getPSCodeList().getCodeListType() == 'STATIC'> <#if node.getPSCodeList().getCodeListType() == 'STATIC'>
Object.assign(item, { text: 'codelist.${node.getPSCodeList().codeName}.'+item.value }); Object.assign(item, { text: <@getNameLanguage node /> });
Object.assign(item, { isUseLangRes: true }); Object.assign(item, { isUseLangRes: true });
<#else> <#else>
Object.assign(item, { text: item.text }); Object.assign(item, { text: item.text });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册