Commit f57133a5 authored by 王玉鑫's avatar 王玉鑫

fix: 详情页报错修正

parent 7ded5f5b
......@@ -15,7 +15,7 @@
</div>
<div style="margin-left: 10rpx">
<span class="c80">占地面积:</span
>{{ detail.area ? parkInfo.area + "亩" : "--" }}
>{{ detail.area ? detail.area + "亩" : "--" }}
</div>
</div>
</view>
......
......@@ -101,7 +101,7 @@ export default defineComponent({
}
},
currentIsVrImg() {
if (this.detail) {
if (this.detail && this.detail.vrUrlList) {
return this.imgIndex < this.detail.vrUrlList.length;
} else {
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment