vue3-antd-admin icon indicating copy to clipboard operation
vue3-antd-admin copied to clipboard

tableLayout中的编辑表单遇到值为0的选择框不能自动赋值

Open GavinNg opened this issue 2 years ago • 1 comments

我发现问题出现在 src/components/tableLayout/form.vue 文件的200行位置: data[item.key] = props.defaultData[item.key] || undefined 这样会导致值为0的选择框变成undefined从而匹配不上option。

203行同理。 Thx!

GavinNg avatar Mar 01 '23 14:03 GavinNg

ok,这个问题稍后处理,tankyou

llyyayx avatar Mar 02 '23 03:03 llyyayx