Sfoglia il codice sorgente

[edit] 同步链上记录

wenliming 2 anni fa
parent
commit
cd472a8980

+ 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

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