From 8490c429b32614792f42b5f97f4671b7019faba7 Mon Sep 17 00:00:00 2001 From: wkj <278599135@qq.com> Date: Sun, 6 Aug 2023 16:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/userRelation/list/index.ts | 4 ---- src/pages/userRelation/list/web.pc.tsx | 11 ++--------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/pages/userRelation/list/index.ts b/src/pages/userRelation/list/index.ts index efc831197..8d7defe3c 100644 --- a/src/pages/userRelation/list/index.ts +++ b/src/pages/userRelation/list/index.ts @@ -140,7 +140,6 @@ export default OakComponent({ formData({ data: users, props, features }) { const { entity, entityId } = props; const filter = this.getFilterByName('fulltext'); - const pagination = this.getPagination(); return { users: users?.map((ele: any) => { const { mobile$user, extraFile$entity } = ele; @@ -155,7 +154,6 @@ export default OakComponent({ return user2; }), searchValue: filter?.$text && filter.$text.$search, - pagination, }; }, properties: { @@ -163,8 +161,6 @@ export default OakComponent({ entityId: '', redirectToAfterConfirm: {} as EntityDict['userEntityGrant']['Schema']['redirectTo'], qrCodeType: '' as string, - showTitle: true, - showBack: false, onUpdate: (id: string) => undefined as void, onCreate: () => undefined as void, }, diff --git a/src/pages/userRelation/list/web.pc.tsx b/src/pages/userRelation/list/web.pc.tsx index c413a28eb..756c0c614 100644 --- a/src/pages/userRelation/list/web.pc.tsx +++ b/src/pages/userRelation/list/web.pc.tsx @@ -23,11 +23,6 @@ export default function Render( { users: EntityDict['user']['Schema'][]; searchValue?: string; - pagination: { - pageSize: number; - total: number; - currentPage: number; - }; entity: string; entityId: string; showBack: boolean; @@ -41,15 +36,13 @@ export default function Render( > ) { const { - pagination, + oakPagination, users = [], entity, entityId, oakLoading, - showBack = false, - showTitle = true, } = props.data; - const { pageSize, total, currentPage } = pagination || {}; + const { pageSize, total, currentPage } = oakPagination || {}; const { goUpsert, t,