@ddwl/ddwl-ui 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -241,7 +241,7 @@ export default {
|
|
|
241
241
|
async uploadRequest (data) {
|
|
242
242
|
const formData = new FormData()
|
|
243
243
|
formData.append('file', data.file)
|
|
244
|
-
const res = await this.$
|
|
244
|
+
const res = await this.$DDWL.upload(formData)
|
|
245
245
|
return res
|
|
246
246
|
},
|
|
247
247
|
beforeUpload (file) {
|