ソースを参照

fix: vben codegen

xingyu 1 年間 前
コミット
4674caa01a

+ 10 - 10
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm

@@ -17,16 +17,16 @@ const [registerModal, { openModal }] = useModal()
 const [registerTable, { getForm, reload }] = useTable({
   title: '${table.classComment}列表',
   api: get${ simpleClassName }Page,
-        columns,
-        formConfig: { labelWidth: 120, schemas: searchFormSchema },
-useSearchForm: true,
-        showTableSetting: true,
-        actionColumn: {
-  width: 140,
-          title: t('common.action'),
-          dataIndex: 'action',
-          fixed: 'right',
-},
+    columns,
+    formConfig: { labelWidth: 120, schemas: searchFormSchema },
+    useSearchForm: true,
+    showTableSetting: true,
+    actionColumn: {
+      width: 140,
+      title: t('common.action'),
+      dataIndex: 'action',
+      fixed: 'right',
+    },
 })
 
 function handleCreate() {