tab模式在production下切换失效问题

This commit is contained in:
gary.fu
2024-07-03 17:48:03 +08:00
parent 2e2b13ae1c
commit bc91df5b01
2 changed files with 21 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ const calcWithIf = menuItem => {
*/
export const useInputType = (option) => {
const inType = option.type || 'input'
if (inType.startsWith('common-') || inType.startsWith('el-')) {
if (inType.startsWith('common-') || inType.startsWith('el-') || inType.startsWith('vue-')) {
return inType // 控件全名
}
return `el-${option.type || 'input'}`