Przeglądaj źródła

修复首页报错问题

haiyang 1 tydzień temu
rodzic
commit
300c31f801
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/pages/index/index.vue

+ 1 - 1
src/pages/index/index.vue

@@ -97,7 +97,7 @@ getNavigationBarHeight()
                 </view>
                 <view class="home-header-balance-num">
                     <view class="home-header-balance-num-amount">
-                        {{ accountCountData.balance || 0 }}
+                        {{ accountCountData?.balance || 0 }}
                     </view>
                 </view>
             </view>