bug修复

dev
dengjia 2025-07-22 18:00:18 +08:00
parent 200fe337ef
commit cf13437877
1 changed files with 4 additions and 4 deletions

View File

@ -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;