@@ -9,7 +9,7 @@
</view>
<view class="stripe"></view>
<view class="roll">
- <view>查询失败</view>
+ <view>{{text}}</view>
<view>
<view></view>
@@ -62,7 +62,8 @@
mouldType: '未查询',
brand: '未查询',
specification: '未查询',
- createTime: '未查询'
+ createTime: '未查询',
+ text:'查询失败'
}
},
onReady() {
@@ -117,6 +118,7 @@
position: "bottom"
})
+ this.text = res.data.msg
}).catch(err => {
console.log(err)
uni.showToast({