|
|
@@ -19,7 +19,8 @@
|
|
|
default: () => []
|
|
|
},
|
|
|
url: {
|
|
|
- type: String
|
|
|
+ type: String,
|
|
|
+ default: '/app/common/upload'
|
|
|
},
|
|
|
notFile: {
|
|
|
type: Boolean,
|
|
|
@@ -69,7 +70,7 @@
|
|
|
message: '上传中...',
|
|
|
});
|
|
|
emit('update:loading',true)
|
|
|
- const result = await uploadFilePromise(file.url);
|
|
|
+ const result = await uploadFilePromise(file.url, props.url);
|
|
|
console.log(result, 'result')
|
|
|
|
|
|
fileList.value.forEach((v,index) => {
|