From 2d09a7850dbdce66a05eb54cfd5334602a02f0ed Mon Sep 17 00:00:00 2001 From: xingyu Date: Thu, 11 May 2023 15:34:13 +0800 Subject: [PATCH] feat: mp --- src/components/Table/src/hooks/useTableForm.ts | 1 - src/views/mp/account/account.data.ts | 3 ++- src/views/mp/user/index.vue | 4 ++-- src/views/mp/user/mpuser.data.ts | 4 +++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/Table/src/hooks/useTableForm.ts b/src/components/Table/src/hooks/useTableForm.ts index badba616..1af5b499 100644 --- a/src/components/Table/src/hooks/useTableForm.ts +++ b/src/components/Table/src/hooks/useTableForm.ts @@ -36,7 +36,6 @@ export function useTableForm( if (handleSearchInfoFn && isFunction(handleSearchInfoFn)) { info = handleSearchInfoFn(info) || info } - console.info(info) fetch({ searchInfo: info, page: 1 }) } diff --git a/src/views/mp/account/account.data.ts b/src/views/mp/account/account.data.ts index c90e9713..6ad77391 100644 --- a/src/views/mp/account/account.data.ts +++ b/src/views/mp/account/account.data.ts @@ -2,8 +2,9 @@ import { BasicColumn, FormSchema, useRender } from '@/components/Table' export const columns: BasicColumn[] = [ { - title: '岗位编号', + title: '编号', dataIndex: 'id', + defaultHidden: true, width: 100 }, { diff --git a/src/views/mp/user/index.vue b/src/views/mp/user/index.vue index 02a8665a..a4c14802 100644 --- a/src/views/mp/user/index.vue +++ b/src/views/mp/user/index.vue @@ -6,10 +6,10 @@ {{ t('action.sync') }} -