From b7cc4fb45e6b9957e1901a69a6b13b758ff4baad Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 18 Oct 2023 13:41:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B6=88=E6=81=AF=E7=AE=A1=E7=90=86&?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E9=85=8D=E7=BD=AE):=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A8=A1=E7=89=88=E6=94=AF=E6=8C=81=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C&=E7=95=8C=E9=9D=A2=E9=85=8D=E7=BD=AE=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=9B=BA=E5=AE=9A=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-card-list/index.vue | 4 +-- .../src/components/business/ms-tree/index.vue | 2 ++ .../src/components/business/ms-tree/types.ts | 1 + .../src/views/login/components/banner.vue | 2 +- .../components/messageList.vue | 4 ++- .../components/messagePreview.vue | 26 ++++++++++--------- .../messageManagement/locale/en-US.ts | 1 + .../messageManagement/locale/zh-CN.ts | 1 + 8 files changed, 25 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/business/ms-card-list/index.vue b/frontend/src/components/business/ms-card-list/index.vue index edca5dd96b..ad6b7cb200 100644 --- a/frontend/src/components/business/ms-card-list/index.vue +++ b/frontend/src/components/business/ms-card-list/index.vue @@ -34,7 +34,7 @@ import useContainerShadow from '@/hooks/useContainerShadow'; - import type { CommonList, TableQueryParams } from '@/models/common'; + import type { CommonList } from '@/models/common'; const props = withDefaults( defineProps<{ @@ -43,10 +43,10 @@ cardMinWidth: number; // 卡片最小宽度px shadowLimit: number; // 滚动距离高度,用于计算顶部底部阴影 remoteParams?: Record; // 远程数据模式下,请求数据的参数 - remoteFunc?: (v: TableQueryParams) => Promise>; // 远程数据模式下,请求数据的函数 gap?: number; // 卡片之间的间距 isProportional?: boolean; // 是否等比正方形 paddingBottomSpace?: string; // 是否存在底部的间距 + remoteFunc?: (v: any) => Promise>; // 远程数据模式下,请求数据的函数 }>(), { mode: 'static', diff --git a/frontend/src/components/business/ms-tree/index.vue b/frontend/src/components/business/ms-tree/index.vue index 3c4e061d6f..c0400b69ff 100644 --- a/frontend/src/components/business/ms-tree/index.vue +++ b/frontend/src/components/business/ms-tree/index.vue @@ -1,6 +1,7 @@