Browse Source

前端gjy

gjy 3 năm trước cách đây
mục cha
commit
02d54c191b
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      pageD/identity/driverIdentity.vue

+ 5 - 2
pageD/identity/driverIdentity.vue

@@ -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({