mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-13 22:32:49 +00:00
优化
This commit is contained in:
parent
6bd54ef1aa
commit
74348f96af
@ -33,7 +33,7 @@ export function useUpload() {
|
|||||||
const ext = extname(file.name);
|
const ext = extname(file.name);
|
||||||
|
|
||||||
// 文件名
|
// 文件名
|
||||||
const name = filename(file.name) + '_' + fileId + ext;
|
const name = filename(file.name) + '_' + fileId + '.' + ext;
|
||||||
|
|
||||||
// Key
|
// Key
|
||||||
let key = isLocal ? name : pathJoin(prefixPath!, name);
|
let key = isLocal ? name : pathJoin(prefixPath!, name);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user