Selaa lähdekoodia

修复首页报错问题

haiyang 1 viikko sitten
vanhempi
commit
300c31f801
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>