chore: 优化代码

This commit is contained in:
dap
2025-01-04 18:30:20 +08:00
parent 543fb0cf91
commit e838537356
3 changed files with 145 additions and 105 deletions

View File

@@ -130,7 +130,7 @@ function handleMenuCheckStrictlyChange(value: boolean) {
<!-- check-strictly为readonly 不能通过v-model绑定 -->
<MenuSelectTable
ref="menuSelectRef"
v-model:checked-keys="slotProps.value"
:checked-keys="slotProps.value"
:association="formApi.form.values.menuCheckStrictly"
:menus="menuTree"
@update:association="handleMenuCheckStrictlyChange"