mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2026-10-07 13:38:34 +08:00
优化
This commit is contained in:
@@ -33,7 +33,7 @@ export function useUpload() {
|
||||
const ext = extname(file.name);
|
||||
|
||||
// 文件名
|
||||
const name = filename(file.name) + '_' + fileId + ext;
|
||||
const name = filename(file.name) + '_' + fileId + '.' + ext;
|
||||
|
||||
// Key
|
||||
let key = isLocal ? name : pathJoin(prefixPath!, name);
|
||||
|
||||
Reference in New Issue
Block a user