mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	fix: error
This commit is contained in:
		| @@ -249,6 +249,7 @@ export default defineComponent({ | ||||
|     const renderOptions = (item: FormSchema) => { | ||||
|       switch (item.component) { | ||||
|         case 'Select': | ||||
|         case 'SelectV2': | ||||
|           const { renderSelectOptions } = useRenderSelect(slots) | ||||
|           return renderSelectOptions(item) | ||||
|         case 'Radio': | ||||
|   | ||||
| @@ -14,7 +14,7 @@ import { ColProps } from '@/types/components' | ||||
| export const setTextPlaceholder = (schema: FormSchema): PlaceholderMoel => { | ||||
|   const { t } = useI18n() | ||||
|   const textMap = ['Input', 'Autocomplete', 'InputNumber', 'InputPassword'] | ||||
|   const selectMap = ['Select', 'TimePicker', 'DatePicker', 'TimeSelect', 'TimeSelect'] | ||||
|   const selectMap = ['Select', 'SelectV2', 'TimePicker', 'DatePicker', 'TimeSelect', 'TimeSelect'] | ||||
|   if (textMap.includes(schema?.component as string)) { | ||||
|     return { | ||||
|       placeholder: t('common.inputText') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu4j
					xingyu4j