|
@@ -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);
|