解决行业报告渲染问题

This commit is contained in:
邓洁
2023-02-03 18:39:32 +08:00
parent be379b2ba9
commit ec3c5b8351

View File

@@ -32,7 +32,7 @@
</view>
<!-- 认证厂家 -->
<view v-if="token">
<view v-if="token==true">
<view class="subtitle">
<u--image src="/static/report/hy_icon_cjx.png" width="24rpx" height="24rpx" :lazy-load="true">
</u--image>
@@ -74,7 +74,14 @@
}
},
onLoad() {
this.token = uni.getStorageSync('loginToken')
if (uni.getStorageSync('loginToken')) {
this.token = true
}
},
onShow() {
if (uni.getStorageSync('loginToken')) {
this.token = true
}
},
methods: {
//点击一级分类