If your percentages don’t change while uploading, chances are you’ve turned the page translation on (I’ve had this problem with Chrome).

<template> <div> <el-upload class="upload-demo" ref="upload" :multiple="false" action="void" :http-request="customUpload" :on-remove="handleRemove" :on-progress="progressA" :file-list="fileList" multiple :auto-upload="true"> <el-button slot="trigger" size="small" type="primary"> Select file </el-button> </el-upload> </div> </template> <script> export default { data() { return { fileList: [], } }, components: {}, mounted() { }, methods: { customUpload(file) { let FormDatas = new FormData(); FormDatas.append('file', file.file); This $axios ({url: 'http://192.168.1.5:8889/upload', method: "post", data: FormDatas, / / upload progress onUploadProgress: (progressEvent) => { let num = progressEvent.loaded / progressEvent.total * 100 | 0; OnProgress ({percent: num}) // Progress bar}}). Then (data => {file.onsuccess (); })}, /** / progressA(event, file) { /** / handleRemove(file) {this.$refs.upload.abort(); $message({message: 'successfully removed' + file.name, type: 'success'}); }, }, } </script> <style> </style>Copy the code