bug修复
parent
200fe337ef
commit
cf13437877
|
@ -107,7 +107,7 @@ const form = ref({
|
|||
const { list: menuList } = await getBusDataItemsMenuList();
|
||||
const childMenuList = ref([]);
|
||||
onMounted(() => {
|
||||
if (props.resourceId)
|
||||
if (!props.resourceId) return;
|
||||
childMenuList.value = menuList.filter(
|
||||
(item) => item.menuId === props.resourceId
|
||||
)[0].children;
|
||||
|
|
Loading…
Reference in New Issue