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

您好,请问您这个能结合VUE实现上传大文件的功能吗? #92

Open
fgc1101 opened this issue May 15, 2020 · 3 comments
Open

Comments

@fgc1101
Copy link

fgc1101 commented May 15, 2020

No description provided.

@peinhu
Copy link
Owner

peinhu commented May 15, 2020

目前是基于jquery的,基于vue的还在规划中,熟悉vue的话可以自己改下前端js文件,上传逻辑不复杂,这个应该不难。

@fgc1101
Copy link
Author

fgc1101 commented May 16, 2020

目前是基于jquery的,基于vue的还在规划中,熟悉vue的话可以自己改下前端js文件,上传逻辑不复杂,这个应该不难。

你好,请问这个组件能修改后端的代码吗?我看您这个上面选择文件以后执行preproces后还请求了upload,这个两个是发起的请求是再js中实现的吧?我是否可以把这俩请求结合成一个请求进行访问。

@peinhu
Copy link
Owner

peinhu commented May 18, 2020

设定是需要请求两个接口的,一个预请求一个上传。其实这里已经简化了,本来应该有三个接口的,一个预请求一个上传一个拼合,因为本扩展采用的是同步上传,上传同时可以进行拼合,所以省去了拼合。如果要把两个结合成一个请求需要修改前端和后端代码,不建议这么做。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants