Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复部分upload-to-ali的props不生效的问题 #105

Merged
merged 4 commits into from
Jul 7, 2020

Conversation

snowlocked
Copy link
Contributor

@snowlocked snowlocked commented Jul 3, 2020

Why

fix #104

How

  1. upload-to-ali对比后,v-editor 是直接执行 upload-to-aliuploadRequest 方法,而 upload-to-ali 执行uploadRequest时有大量的前置操作,这就导致v-editor 里设置 某些upload-to-ali 不生效的原因

image
image

  1. 直接调用 upload-to-ali的upload方法,参数构造成其对应的传参
   const request = uploadToAli.upload({
        target: {files: [file]}
      })

3.该方式需要等待 upload-to-ali 的更新

@auto-add-label auto-add-label bot added the bug Something isn't working label Jul 3, 2020
@netlify
Copy link

netlify bot commented Jul 3, 2020

Deploy preview for v-editor ready!

Built with commit 93efba9

https://deploy-preview-105--v-editor.netlify.app

@levy9527 levy9527 merged commit eeffad8 into FEMessage:dev Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uploadOptions中限制上传大小(size)无效
3 participants