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