### HTML
<el-dialog
title="提交信息上传中,请耐心等待!"
:visible.sync="showUpload"
width="30%">
<el-progress :text-inside="true" :stroke-width="26" :percentage="process"></el-progress>
</el-dialog>
### JS
# 展示进度条
this.showUpload = true
_banner.saveBanner(form, () => {
# 成功关闭进度条
this.showUpload = false
}, () => {}, complete => {
# 当前进度
this.process = complete
});
Element-ui axois 请求进度条
最新推荐文章于 2024-01-21 19:41:41 发布