|
@@ -331,8 +331,11 @@
|
|
|
that.personImgs.personImg = that.id[0]
|
|
|
that.$api.doRequest('get', '/driverViewInfo/personShibie', that.personImgs).then(res => {
|
|
|
console.log("成功!")
|
|
|
- that.DriverViewInfo.driverName = res.data.data.recPerson
|
|
|
- that.DriverViewInfo.numberCard = res.data.data.recPersonNo
|
|
|
+ console.log(that)
|
|
|
+ that.$set(that.DriverViewInfo,'driverName',res.data.data.recPerson)
|
|
|
+ that.$set(that.DriverViewInfo,'numberCard',res.data.data.recPersonNo)
|
|
|
+ // that.DriverViewInfo.driverName = res.data.data.recPerson
|
|
|
+ // that.DriverViewInfo.numberCard = res.data.data.recPersonNo
|
|
|
console.log(that.DriverViewInfo.driverName)
|
|
|
}).catch(res => {
|
|
|
uni.showToast({
|