mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 02:28:03 +08:00 
			
		
		
		
	fix: vben codegen radio type
This commit is contained in:
		| @ -122,7 +122,7 @@ export const createFormSchema: FormSchema[] = [ | |||||||
|       #end |       #end | ||||||
|     } |     } | ||||||
|   #elseif($column.htmlType == "radio")## 单选框 |   #elseif($column.htmlType == "radio")## 单选框 | ||||||
|     component: 'Radio', |     component: 'RadioButtonGroup', | ||||||
|     componentProps: { |     componentProps: { | ||||||
|       #if ("" != $dictType)## 有数据字典 |       #if ("" != $dictType)## 有数据字典 | ||||||
|         options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') |         options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | ||||||
| @ -188,7 +188,7 @@ export const updateFormSchema: FormSchema[] = [ | |||||||
|       #end |       #end | ||||||
|     } |     } | ||||||
|     #elseif($column.htmlType == "radio")## 单选框 |     #elseif($column.htmlType == "radio")## 单选框 | ||||||
|     component: 'Radio', |     component: 'RadioButtonGroup', | ||||||
|     componentProps: { |     componentProps: { | ||||||
|       #if ("" != $dictType)## 有数据字典 |       #if ("" != $dictType)## 有数据字典 | ||||||
|         options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') |         options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu