chore: 必须深拷贝才能进行修改
This commit is contained in:
parent
be06f4cb50
commit
c5fcf50c76
@ -206,7 +206,10 @@ async function init() {
|
||||
}
|
||||
|
||||
// form 由 vben-form 代替,所以需要保证query相关事件可以拿到参数
|
||||
extendProxyOptions(props.api, defaultGridOptions, () => formApi.form.values);
|
||||
extendProxyOptions(props.api, defaultGridOptions, () =>
|
||||
// 这里默认是readonly的 需要深拷贝才能进行修改操作
|
||||
cloneDeep(formApi.form.values),
|
||||
);
|
||||
}
|
||||
|
||||
watch(
|
||||
|
Loading…
Reference in New Issue
Block a user