修复文件管理点击地址无法下载问题 update web/src/views/system/fileList/crud.tsx.

Signed-off-by: lxy <46486798@qq.com>
This commit is contained in:
lxy
2025-03-20 11:33:01 +00:00
committed by Gitee
parent 351bae1fea
commit 7917a118c8

View File

@@ -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: {