Browse Source
Merge pull request #1242 from colinin/fix-edit-menu
fix(vben5): 修复编辑菜单没有重置表单
pull/1243/head
yx lin
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
apps/vben5/packages/@abp/platform/src/components/menus/MenuDrawer.vue
|
|
|
@ -183,6 +183,8 @@ async function onNextStep() { |
|
|
|
|
|
|
|
async function onInit() { |
|
|
|
metaFormApi.removeSchemaByFields(menuMetas.value.map((x) => x.name)); |
|
|
|
basicFormApi.resetForm(); |
|
|
|
metaFormApi.resetForm(); |
|
|
|
activeTabKey.value = 'basic'; |
|
|
|
parentMenu.value = undefined; |
|
|
|
showMetaForm.value = false; |
|
|
|
|