Browse Source

request bug fix

nieyuge 2 năm trước cách đây
mục cha
commit
6db538bde1
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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);