提交 02559cf7 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 d7d7c622
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
Object.assign(tempContext, xData.context); Object.assign(tempContext, xData.context);
} }
const data = args[0]; const data = args[0];
const service = await window.entityServiceRegister.getService('${item.getPSAppDataEntity().getCodeName()}'); const service = await window.entityServiceRegister.getService('${item.getPSAppDataEntity().getCodeName()?lower_case}');
if (service) { if (service) {
if (data.hasOwnProperty(service.APPDEKEY.toLowerCase())) { if (data.hasOwnProperty(service.APPDEKEY.toLowerCase())) {
delete data[service.APPDEKEY.toLowerCase()]; delete data[service.APPDEKEY.toLowerCase()];
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
Object.assign(tempContext, xData.context); Object.assign(tempContext, xData.context);
} }
const data = args[0]; const data = args[0];
const service = await window.entityServiceRegister.getService('${item.getPSAppDataEntity().getCodeName()}'); const service = await window.entityServiceRegister.getService('${item.getPSAppDataEntity().getCodeName()?lower_case}');
if (service) { if (service) {
const key = service.APPDEKEY.toLowerCase(); const key = service.APPDEKEY.toLowerCase();
const name = service.APPDENAME.toLowerCase(); const name = service.APPDENAME.toLowerCase();
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
} }
const data = args[0]; const data = args[0];
let action: string | undefined = undefined; let action: string | undefined = undefined;
const service = await window.entityServiceRegister.getService('${item.getPSAppDataEntity().getCodeName()}'); const service = await window.entityServiceRegister.getService('${item.getPSAppDataEntity().getCodeName()?lower_case}');
if (service) { if (service) {
const key = service.APPDEKEY.toLowerCase(); const key = service.APPDEKEY.toLowerCase();
const name = service.APPDENAME.toLowerCase(); const name = service.APPDENAME.toLowerCase();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册