瀏覽代碼

修复首页报错问题

haiyang 1 周之前
父節點
當前提交
300c31f801
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>