chore: disable the default form configuration of vke-table (#4794)

* fix: 处理某个页面加载多个Table时,第2个之后的Table初始化报出警告

* fix: 使用vxe-table时全局禁用formConfig
This commit is contained in:
1302岁的龙猫 2024-11-02 15:46:19 +08:00 committed by GitHub
parent 43d95cc587
commit a64a06bf59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 0 deletions

View File

@ -16,6 +16,10 @@ setupVbenVxeTable({
resizable: true,
},
minHeight: 180,
formConfig: {
// 全局禁用vxe-table的表单配置使用formOptions
enabled: false,
},
proxyConfig: {
autoLoad: true,
response: {

View File

@ -16,6 +16,10 @@ setupVbenVxeTable({
resizable: true,
},
minHeight: 180,
formConfig: {
// 全局禁用vxe-table的表单配置使用formOptions
enabled: false,
},
proxyConfig: {
autoLoad: true,
response: {

View File

@ -16,6 +16,10 @@ setupVbenVxeTable({
resizable: true,
},
minHeight: 180,
formConfig: {
// 全局禁用vxe-table的表单配置使用formOptions
enabled: false,
},
proxyConfig: {
autoLoad: true,
response: {

View File

@ -15,6 +15,11 @@ setupVbenVxeTable({
columnConfig: {
resizable: true,
},
formConfig: {
// 全局禁用vxe-table的表单配置使用formOptions
enabled: false,
},
minHeight: 180,
proxyConfig: {
autoLoad: true,