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

master
1302岁的龙猫 1 year ago committed by GitHub
parent cf130b293d
commit 4b94d62145
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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',
);

Loading…
Cancel
Save