微信小程序 三元表达式在ios15以下无效
复制代码<view class="mine-login-container" @click="toLogin">
<view>
<u--image :showLoading="true" shape="circle" :src="avater!=null?avater:src" width="60px"
height="60px">
</u--image>
</view>
<view class="mine-login_name">
<view style="display: flex;align-items: center;">
<view>
<u--text :text="userInfo.nickName!=null?userInfo.nickName:'点击登录'" color="white"></u--text>
</view>
<view style="margin-bottom: 2px;margin-left: 5px;" v-if="token.length>0">
<uni-icons type="compose" size="14" color="white"></uni-icons>
</view>
</view>
<view style="margin-top: 5px;">
<u--text :text="token.length>0 ? phone : '' " color="white" size="12"></u--text>
</view>
</view>
</view>
1 个回复
DCloud_UNI_WZF
小程序开发者工具显示正常吗?测试小程序原生开发是否存在同样问题?是否是组件的问题?
如确认框架问题,提供项目创建方式,vue版本,HBuilderX 版本等信息