代码生成 使用优化

表单组件是下拉框,但是没有选择字段前端就会报错
status默认值置为1,不然表单添加的时候没有默认值
单选按钮组件在table也使用tag渲染
选择了字典类型后可清空
删除代码生成的时间
This commit is contained in:
maxbad
2023-05-14 17:13:46 +08:00
parent eb0f63fc18
commit d61f94cd3b
8 changed files with 11 additions and 6 deletions

View File

@@ -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;