Commit 5a795d7c by zhangxw

获取4s店接口慢导致 后续接口未拿到门店id报错修改

1 parent fb16239b
...@@ -47,7 +47,8 @@ Page({ ...@@ -47,7 +47,8 @@ Page({
this.setData({ this.setData({
storeListRange: result, storeListRange: result,
userInfo, userInfo,
selectStroeIndex selectStroeIndex,
showPage: true
}) })
}) })
.catch(err => {}) .catch(err => {})
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</navigation-bar> </navigation-bar>
<!-- style="margin-top:{{navBarHeight}}px" --> <!-- style="margin-top:{{navBarHeight}}px" -->
<view class="layout" style="padding-top:{{navBarHeight}}px; height: calc(100vh - {{navBarHeight}}px);"> <view class="layout" style="padding-top:{{navBarHeight}}px; height: calc(100vh - {{navBarHeight}}px);">
<block wx:if="{{navBarHeight}}"> <block wx:if="{{navBarHeight && showPage}}">
<quotation-list id="page-0" navBarHeight="{{navBarHeight}}" class="{{tabIndex == 0?'':'hide'}}" /> <quotation-list id="page-0" navBarHeight="{{navBarHeight}}" class="{{tabIndex == 0?'':'hide'}}" />
<equity-list id="page-1" navBarHeight="{{navBarHeight}}" class="{{tabIndex == 1?'':'hide'}}" /> <equity-list id="page-1" navBarHeight="{{navBarHeight}}" class="{{tabIndex == 1?'':'hide'}}" />
</block> </block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!