如题wx-open-launch-weapp在ios16真机提示script.error且不渲染标签,ios<16 和 Android真机上都正常。
<span>
<wx-open-launch-weapp
id='launch-btn'
username={originId}
path={`${path}?${decodeURIComponent(query)}`}
>
<script type='text/wxtag-template'>
<div
className='openBtn'
style={{
width: '315px',
height: '45px',
background: '#BF1B3E',
borderRadius: '30px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
color: '#fff',
marginTop: '16px',
fontSize: '15px',
}}
>
点击前往
</div>
</script>
</wx-open-launch-weapp>
</span>
ios16.2 点击wx-open-launch-weapp 按钮完全没反应,同事的 ios16.02是OK的。
同样遇到ios16下提示script.error的问题