<uni-td align="center">
<view class="">
{{options.xueli_valuetotext[item.xueli]}}
</view>
<image :src="item.xueliImg[0]?.url" style="width: 50px;height: 50px;" mode="aspectFill"></image>
</uni-td>

- 发布:2024-02-27 16:32
- 更新:2024-02-28 08:53
- 阅读:204
产品分类: uniapp/H5
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: w11
HBuilderX类型: 正式
HBuilderX版本号: 3.99
浏览器平台: Chrome
浏览器版本: 121.0.6167.140
项目创建方式: HBuilderX
操作步骤:
预期结果:
<uni-td align="center">
<view class="">
{{options.xueli_valuetotext[item.xueli]}}
</view>
<image :src="item.xueliImg[0]?.url" style="width: 50px;height: 50px;" mode="aspectFill"></image>
</uni-td>
<uni-td align="center">
<view class="">
{{options.xueli_valuetotext[item.xueli]}}
</view>
<image :src="item.xueliImg[0]?.url" style="width: 50px;height: 50px;" mode="aspectFill"></image>
</uni-td>
实际结果:
<uni-td align="center">
<view class="">
{{options.xueli_valuetotext[item.xueli]}}
</view>
<image :src="item.xueliImg[0]?.url" style="width: 50px;height: 50px;" mode="aspectFill"></image>
</uni-td>
<uni-td align="center">
<view class="">
{{options.xueli_valuetotext[item.xueli]}}
</view>
<image :src="item.xueliImg[0]?.url" style="width: 50px;height: 50px;" mode="aspectFill"></image>
</uni-td>
bug描述:
<uni-td align="center">
<view class="">
{{options.xueli_valuetotext[item.xueli]}}
</view>
<image :src="item.xueliImg[0]?.url" style="width: 50px;height: 50px;" mode="aspectFill"></image>
</uni-td>
只要加上image 就报错




