收藏
回答

IOS使用web-view组件二次显示无法渲染页面?

IOS使用web-view组件二次显示无法渲染页面,第一次是可以打开页面,H5跳转当前页面刷新以后,就无法显示了。真机调试是已经渲染了web-view组件的,网页也在dom上,但是手机上白屏无显示,只有在特定版本的IOS系统上出现该问题。

  <view class="bofff" v-if="!isOpenShare">

    <web-view :src="link" @message="handleGetMessage"></web-view>

  </view>

  <view class="share" v-else>

    <view class="com-box">

      <view class="join-tips1">

        <image src="~@/assets/img/activityCommunity/share.png" class="Join" />

      </view>

      <view class="join-tips2">分享后才能参与抽奖</view>

      <button open-type="share" class="share_btn" @tap="isShare">

        立即分享

      </button>

    </view>


回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容