Commit 4a111d2cb57f7ee626aaac29315b80a9db33f6c1
1 parent
1978603b
fix: 修正use-vxe-grid中的代理配置提交类型
Showing
4 changed files
with
4 additions
and
4 deletions
yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/index.vue.vm
| @@ -180,7 +180,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | @@ -180,7 +180,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | ||
| 180 | #end | 180 | #end |
| 181 | }, | 181 | }, |
| 182 | toolbarConfig: { | 182 | toolbarConfig: { |
| 183 | - refresh: { code: 'query' }, | 183 | + refresh: true, |
| 184 | search: true, | 184 | search: true, |
| 185 | }, | 185 | }, |
| 186 | } as VxeTableGridOptions<${simpleClassName}Api.${simpleClassName}>, | 186 | } as VxeTableGridOptions<${simpleClassName}Api.${simpleClassName}>, |
yudao-module-infra/src/main/resources/codegen/vue3_vben5_antd/schema/views/modules/list_sub_erp.vue.vm
| @@ -131,7 +131,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | @@ -131,7 +131,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | ||
| 131 | enabled: true, | 131 | enabled: true, |
| 132 | }, | 132 | }, |
| 133 | toolbarConfig: { | 133 | toolbarConfig: { |
| 134 | - refresh: { code: 'query' }, | 134 | + refresh: true, |
| 135 | search: true, | 135 | search: true, |
| 136 | }, | 136 | }, |
| 137 | #else | 137 | #else |
yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/index.vue.vm
| @@ -174,7 +174,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | @@ -174,7 +174,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | ||
| 174 | #end | 174 | #end |
| 175 | }, | 175 | }, |
| 176 | toolbarConfig: { | 176 | toolbarConfig: { |
| 177 | - refresh: { code: 'query' }, | 177 | + refresh: true, |
| 178 | search: true, | 178 | search: true, |
| 179 | }, | 179 | }, |
| 180 | } as VxeTableGridOptions<${simpleClassName}Api.${simpleClassName}>, | 180 | } as VxeTableGridOptions<${simpleClassName}Api.${simpleClassName}>, |
yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/modules/list_sub_erp.vue.vm
| @@ -125,7 +125,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | @@ -125,7 +125,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | ||
| 125 | enabled: true, | 125 | enabled: true, |
| 126 | }, | 126 | }, |
| 127 | toolbarConfig: { | 127 | toolbarConfig: { |
| 128 | - refresh: { code: 'query' }, | 128 | + refresh: true, |
| 129 | search: true, | 129 | search: true, |
| 130 | }, | 130 | }, |
| 131 | #else | 131 | #else |