fix: When multiple Tables are loaded on a page, a warning will be reported in the initialization of Tables after the second one (#4791)

pull/48/MERGE
1302岁的龙猫 2024-11-02 14:31:46 +08:00 committed by GitHub
parent cf130b293d
commit 4b94d62145
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -220,7 +220,9 @@ async function init() {
// form vben-formformConfig
const formConfig = gridOptions.value?.formConfig;
if (formConfig) {
// Table2Table
// defaultGridOptionsgridOptionsState
if (formConfig && formConfig.enabled) {
console.warn(
'[Vben Vxe Table]: The formConfig in the grid is not supported, please use the `formOptions` props',
);