@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddwl/ddwl-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "main": "src/main.js",
6
6
  "description": "ddwl组件库",
@@ -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.$DDWL_UI.upload(formData)
244
+ const res = await this.$DDWL.upload(formData)
245
245
  return res
246
246
  },
247
247
  beforeUpload (file) {