Commit 4953d5ec62ed5b82c1453497c1a615d1f9ded869
1 parent
f59119bf
fix: vben codegen radio type
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/data.ts.vm
| ... | ... | @@ -122,7 +122,7 @@ export const createFormSchema: FormSchema[] = [ |
| 122 | 122 | #end |
| 123 | 123 | } |
| 124 | 124 | #elseif($column.htmlType == "radio")## 单选框 |
| 125 | - component: 'Radio', | |
| 125 | + component: 'RadioButtonGroup', | |
| 126 | 126 | componentProps: { |
| 127 | 127 | #if ("" != $dictType)## 有数据字典 |
| 128 | 128 | options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') |
| ... | ... | @@ -188,7 +188,7 @@ export const updateFormSchema: FormSchema[] = [ |
| 188 | 188 | #end |
| 189 | 189 | } |
| 190 | 190 | #elseif($column.htmlType == "radio")## 单选框 |
| 191 | - component: 'Radio', | |
| 191 | + component: 'RadioButtonGroup', | |
| 192 | 192 | componentProps: { |
| 193 | 193 | #if ("" != $dictType)## 有数据字典 |
| 194 | 194 | options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | ... | ... |