From 7917a118c8b9318bd1c2a9f9e1484dee41db6ce6 Mon Sep 17 00:00:00 2001 From: lxy <46486798@qq.com> Date: Thu, 20 Mar 2025 11:33:01 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=82=B9=E5=87=BB=E5=9C=B0=E5=9D=80=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E9=97=AE=E9=A2=98=20update=20web/src/views/s?= =?UTF-8?q?ystem/fileList/crud.tsx.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxy <46486798@qq.com> --- web/src/views/system/fileList/crud.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/views/system/fileList/crud.tsx b/web/src/views/system/fileList/crud.tsx index 83b8d081..a766df64 100644 --- a/web/src/views/system/fileList/crud.tsx +++ b/web/src/views/system/fileList/crud.tsx @@ -11,6 +11,7 @@ import { dict } from '@fast-crud/fast-crud'; import fileSelector from '/@/components/fileSelector/index.vue'; +import { getBaseURL } from '/@/utils/baseUrl'; export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOptionsProps): CreateCrudOptionsRet { const pageRequest = async (query: UserPageQuery) => { @@ -146,6 +147,11 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp }, column: { minWidth: 360, + component: { + async buildUrl(value: any) { + return getBaseURL(value); + } + } }, }, md5sum: { -- Gitee