Browse Source

错误处理

zcy 3 năm trước cách đây
mục cha
commit
bb3fe0df02
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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