search表单

This commit is contained in:
Gary Fu
2024-01-06 13:05:21 +08:00
parent 1a885d942c
commit a32d6b2eac
6 changed files with 105 additions and 51 deletions

View File

@@ -10,6 +10,14 @@ const calcWithIf = menuItem => {
})
}
export const useInputType = (option) => {
const inType = option.type || 'input'
if (inType.startsWith('common-') || inType.startsWith('el-')) {
return inType // 控件全名
}
return `el-${option.type || 'input'}`
}
export const MENU_INFO_LIST = ref({})
export const useMenuInfo = item => {