mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-11 13:02:49 +00:00
解决 Upload.prefixPath 替换问题
This commit is contained in:
parent
6cb3dab341
commit
254b444f22
@ -16,7 +16,7 @@ export function useUpload() {
|
||||
return new Promise((resolve, reject) => {
|
||||
const executor = async () => {
|
||||
// 合并配置
|
||||
const { prefixPath, onProgress } = merge(options, opts);
|
||||
const { prefixPath, onProgress } = merge({}, options, opts);
|
||||
|
||||
// 文件id
|
||||
const fileId = uuid("");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user