mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 20:23:52 +08:00
代码生成 使用优化
表单组件是下拉框,但是没有选择字段前端就会报错 status默认值置为1,不然表单添加的时候没有默认值 单选按钮组件在table也使用tag渲染 选择了字典类型后可清空 删除代码生成的时间
This commit is contained in:
@@ -284,6 +284,7 @@
|
||||
return h(NTreeSelect, {
|
||||
value: row.dictType,
|
||||
disabled: row.name === 'id',
|
||||
clearable: true,
|
||||
options: props.selectList?.dictMode ?? [],
|
||||
onUpdateValue: function (e) {
|
||||
row.dictType = e;
|
||||
|
||||
Reference in New Issue
Block a user