Commit a64a06bf by 1302岁的龙猫 Committed by GitHub

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

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

* fix: 使用vxe-table时全局禁用formConfig
1 parent 43d95cc5
...@@ -16,6 +16,10 @@ setupVbenVxeTable({ ...@@ -16,6 +16,10 @@ setupVbenVxeTable({
resizable: true, resizable: true,
}, },
minHeight: 180, minHeight: 180,
formConfig: {
// 全局禁用vxe-table的表单配置,使用formOptions
enabled: false,
},
proxyConfig: { proxyConfig: {
autoLoad: true, autoLoad: true,
response: { response: {
......
...@@ -16,6 +16,10 @@ setupVbenVxeTable({ ...@@ -16,6 +16,10 @@ setupVbenVxeTable({
resizable: true, resizable: true,
}, },
minHeight: 180, minHeight: 180,
formConfig: {
// 全局禁用vxe-table的表单配置,使用formOptions
enabled: false,
},
proxyConfig: { proxyConfig: {
autoLoad: true, autoLoad: true,
response: { response: {
......
...@@ -16,6 +16,10 @@ setupVbenVxeTable({ ...@@ -16,6 +16,10 @@ setupVbenVxeTable({
resizable: true, resizable: true,
}, },
minHeight: 180, minHeight: 180,
formConfig: {
// 全局禁用vxe-table的表单配置,使用formOptions
enabled: false,
},
proxyConfig: { proxyConfig: {
autoLoad: true, autoLoad: true,
response: { response: {
......
...@@ -15,6 +15,11 @@ setupVbenVxeTable({ ...@@ -15,6 +15,11 @@ setupVbenVxeTable({
columnConfig: { columnConfig: {
resizable: true, resizable: true,
}, },
formConfig: {
// 全局禁用vxe-table的表单配置,使用formOptions
enabled: false,
},
minHeight: 180, minHeight: 180,
proxyConfig: { proxyConfig: {
autoLoad: true, autoLoad: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!