Commit 40ce629c authored by liujiangnan's avatar liujiangnan

debug

parent 82f0eaca
......@@ -45,6 +45,7 @@ new Vue({
// 发起上传请求
axios.post(this.uploadUrl, formData, {
cancelToken: this.cancelTokenSource.token,
withCredentials: true,
onUploadProgress: (progressEvent) => {
this.uploadProgress = Math.round((progressEvent.loaded * 100) / progressEvent.total);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment