mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 菜单支持 iframe
This commit is contained in:
@ -17,6 +17,15 @@ export const menuTypeRecord: Record<Api.System.MenuType, string> = {
|
||||
|
||||
export const menuTypeOptions = transformRecordToOption(menuTypeRecord);
|
||||
|
||||
/** menu is frame */
|
||||
export const menuIsFrameRecord: Record<Api.System.IsMenuFrame, string> = {
|
||||
'0': '缓存',
|
||||
'1': '不缓存',
|
||||
'2': 'iframe'
|
||||
};
|
||||
|
||||
export const menuIsFrameOptions = transformRecordToOption(menuIsFrameRecord);
|
||||
|
||||
/** menu icon type */
|
||||
export const menuIconTypeRecord: Record<Api.System.IconType, string> = {
|
||||
'1': 'iconify',
|
||||
|
Reference in New Issue
Block a user