fix: vben codegen radio type
This commit is contained in:
parent
f59119bf6e
commit
4953d5ec62
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user