wenliming %!s(int64=2) %!d(string=hai) anos
pai
achega
10a38207dc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/view/popup/components/tabbar.vue

+ 2 - 1
src/view/popup/components/tabbar.vue

@@ -54,6 +54,7 @@ watch(
     () => props.userInfo,
     (newVal) => {
         getNFTListMine();
+        setMessageCount();
     },
     {
         deep: true
@@ -106,6 +107,7 @@ let NFTReqParams = {
 const emits = defineEmits(["tabbarClick"]);
 
 const tabbarHandler = (params, index) => {
+    unReadCountTask.value = 0;
     setMessageCount();
     currentTab.value.index = index;
     currentTab.value.path = params.path;
@@ -128,7 +130,6 @@ const setActiveTab = () => {
 };
 
 const getNFTListMine = () => {
-    console.log(props.userInfo.accessToken)
     if(!props.userInfo.accessToken) return;
     nftListMine({
         params: NFTReqParams.params,