Browse Source

request bug fix

nieyuge 2 years ago
parent
commit
6db538bde1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/view/iframe/publish/give-dialog.vue

+ 5 - 1
src/view/iframe/publish/give-dialog.vue

@@ -605,7 +605,11 @@ watch(
             // 更新余额
             clearInterval(timer.value);
             timer.value = setInterval(() => {
-                getCurrencyInfo();
+                getChromeStorage('userInfo', (res) => {
+                    if (res && res.accessToken) {
+                        getCurrencyInfo();
+                    }
+                });
             }, 10000)
         } else {
             clearInterval(timer.value);