mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 新增代码生成页面
This commit is contained in:
@ -35,16 +35,15 @@ const btnData = ref<Api.System.MenuList>([]);
|
||||
const getMeunTree = async () => {
|
||||
startLoading();
|
||||
const { data, error } = await fetchGetMenuList();
|
||||
if (!error) {
|
||||
treeData.value = [
|
||||
{
|
||||
menuId: 0,
|
||||
menuName: '根目录',
|
||||
icon: 'material-symbols:home-outline-rounded',
|
||||
children: handleMenuTree(data, 'menuId')
|
||||
}
|
||||
] as Api.System.Menu[];
|
||||
}
|
||||
if (error) return;
|
||||
treeData.value = [
|
||||
{
|
||||
menuId: 0,
|
||||
menuName: '根目录',
|
||||
icon: 'material-symbols:home-outline-rounded',
|
||||
children: handleMenuTree(data, 'menuId')
|
||||
}
|
||||
] as Api.System.Menu[];
|
||||
endLoading();
|
||||
};
|
||||
|
||||
|
@ -252,8 +252,8 @@ const FormTipComponent = defineComponent({
|
||||
}
|
||||
});
|
||||
|
||||
const enableStatusOptions = ref<Array<CommonType.Option>>([]);
|
||||
const showHideOptions = ref<Array<CommonType.Option>>([]);
|
||||
const enableStatusOptions = ref<CommonType.Option[]>([]);
|
||||
const showHideOptions = ref<CommonType.Option[]>([]);
|
||||
|
||||
async function initDictData() {
|
||||
const { getDictOptions } = useDict();
|
||||
|
Reference in New Issue
Block a user