Procházet zdrojové kódy

Merge branch 'bug_fix_220718_async_blance' into feature_220712_US_pay

wenliming před 2 roky
rodič
revize
7181cc5b2d

+ 3 - 1
src/view/components/currency-list.vue

@@ -165,6 +165,7 @@ const refresh = () => {
             refreshRotate.value = false;
         }, 1000)
         asyncTokenRechRecord(() => {
+            listReqParams.params.pageNum = 1;
             getCurrencyInfoList();
         })
     }
@@ -275,7 +276,8 @@ onMounted(() => {
 })
 
 defineExpose({
-    getCurrencyInfoList
+    getCurrencyInfoList,
+    refresh
 })
 
 </script>

+ 1 - 1
src/view/popup/tabbar-page/wallter/popup.vue

@@ -195,7 +195,7 @@ const refreshList = () => {
 
     getAccountBalance();
     if(currencyListDom.value) {
-        currencyListDom.value.getCurrencyInfoList && currencyListDom.value.getCurrencyInfoList();
+        currencyListDom.value.refresh && currencyListDom.value.refresh();
     }
 }