浏览代码

Merge branch 'bug_fix_220718_async_blance' into feature_220712_US_pay

wenliming 2 年之前
父节点
当前提交
7181cc5b2d
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 3 1
      src/view/components/currency-list.vue
  2. 1 1
      src/view/popup/tabbar-page/wallter/popup.vue

+ 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();
     }
 }