fix(menu): 修复菜单列表接口参数缺失menuSource

- 不传递参数时后端默认为ruoyi菜单
This commit is contained in:
dubai
2026-01-11 18:41:53 +08:00
parent 18f253371b
commit a1210c1efd
4 changed files with 4 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ const [BasicForm, formApi] = useVbenForm({
async function setupMenuSelect() {
// menu
const menuArray = await menuList();
const menuArray = await menuList({ menuSource: 2 }); // 不传后端会默认为ruoyi的菜单
// support i18n
menuArray.forEach((item) => {
item.menuName = $t(item.menuName);