浏览代码

错误处理

zcy 3 年之前
父节点
当前提交
bb3fe0df02
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/security/stand/index.vue

+ 4 - 0
src/views/security/stand/index.vue

@@ -225,6 +225,10 @@ export default {
       downFile(this.url.qrcodeAll).then((data) => {
         if (data.code !== 200) {
           this.$message.warning('文件下载失败')
+          setTimeout(() => {
+            this.progressShow = false
+            this.jd = 0
+          }, 1000)
         } else {
           clearInterval(interval)
           window.location.href = data.url