未验证 提交 ddb678dd 编写于 作者: W wjc112233 提交者: GitHub

fix: fix#2031 修复表格可编辑行在编辑模式下,无法处理数组类型的值的问题 (#2035)

Co-authored-by: Nwjc <7098544231@qq.com>
上级 91e13c42
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
currentValueRef.value = e; currentValueRef.value = e;
} else if (e?.target && Reflect.has(e.target, 'value')) { } else if (e?.target && Reflect.has(e.target, 'value')) {
currentValueRef.value = (e as ChangeEvent).target.value; currentValueRef.value = (e as ChangeEvent).target.value;
} else if (isString(e) || isBoolean(e) || isNumber(e)) { } else if (isString(e) || isBoolean(e) || isNumber(e) || isArray(e)) {
currentValueRef.value = e; currentValueRef.value = e;
} }
const onChange = unref(getComponentProps)?.onChange; const onChange = unref(getComponentProps)?.onChange;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册