fix: naive ui form reset does not meet expectations (#4569)

* fix: naive ui form reset does not meet expectations

* fix: typo
This commit is contained in:
Vben
2024-10-05 17:09:42 +08:00
committed by GitHub
parent 402eaf4275
commit d37e2f599c
13 changed files with 34 additions and 19 deletions

View File

@@ -193,8 +193,8 @@ async function init() {
}
// form 由 vben-form代替所以不适配formConfig这里给出警告
const formConfig = defaultGridOptions.formConfig;
if (formConfig?.enabled) {
const formConfig = options.value.formConfig;
if (formConfig) {
console.warn(
'[Vben Vxe Table]: The formConfig in the grid is not supported, please use the `formOptions` props',
);