m***@vcgroup.cn
m***@vcgroup.cn
  • 发布:2020-07-06 15:38
  • 更新:2020-07-06 16:16
  • 阅读:569

【报Bug】更新版本问题 2.7.14.20200618

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 2.7.14.20200618

HBuilderX版本号: 2.7.14

示例代码:

<view v-if="order" class="order-content">
<view class="goods-item" v-for="item in order.goods" :key="item.id">
<image v-if="!noImg" :src="item.images" style="width: 180upx;" mode="widthFix"></image>
<view class="goods-info">
<p class="goods-name" v-if="item.name">{{ item.name }}#{{ item.specs }}</p>
<p class="goods-name" v-if="item.time">{{ item.time }}</p>
<p class="goods-price">
¥{{ item.price }}
<text v-if="item.num" style="margin: 0 20upx;color: #000;font-size: 25upx;float: right;">x {{ item.num }}</text>
</p>
</view>
</view>
<p class="order-time" v-if="order.time">订单时间:{{ order.time }}</p>
<p class="sum-info" v-if="order.price">
运费:
<text class="goods-price" style="margin-right: 10px;">¥{{ order.freight ? order.freight : 0 }}</text>
合计:
<text class="goods-price">¥{{ order.price }}</text>
</p>
<p v-if="order.btnLinkTo && showBtn" style="border-top: 1px solid #f0f0f0;">
<button plain="true" @click="linkToSet(order.btnLinkTo, order)" size="mini" class="submit-btn">{{ order.btnLinkTo.text }}</button>
</p>
</view>

操作步骤:

自定义基座打包 正式包

预期结果:

需求解决方法

实际结果:

自定义组件显示异常

bug描述:

自定义组件异常
fast启动模式 自定义基座打包 手机端显示不出来 模拟器能正常显示 15:33:24.008 cid unmatched [object Object]
15:33:24.028 TypeError: Invalid attempt to destructure non-iterable instance.
15:33:24.048 In order to be iterable, non-array objects must have a [Symbol.iterator]() method.

2020-07-06 15:38 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复