Browse Source

fix(cli): keyword error

pull/775/head
cKey 3 years ago
parent
commit
4750cc0630
  1. 4
      aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/UI/Vben/Templates/VbenModalViewScript.tpl

4
aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/UI/Vben/Templates/VbenModalViewScript.tpl

@ -43,8 +43,8 @@
const [registerModal, { {{ if model.has_submit }}closeModal{{ end }} }] = useModalInner((data) => { const [registerModal, { {{ if model.has_submit }}closeModal{{ end }} }] = useModalInner((data) => {
nextTick(() => { nextTick(() => {
resetFields(); resetFields();
fetchEntity(data.{{ model.key }}) { if (data.{{ model.key }}) {
fetchEntity(data.{{ model.key }}); fetchEntity(data.{{ model.key }});
} }
}); });
}); });

Loading…
Cancel
Save