Browse Source

Merge pull request #775 from colinin/upt-7.0.1

fix(cli): keyword error
pull/786/head
yx lin 3 years ago
committed by GitHub
parent
commit
76a6e8d8dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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