瀏覽代碼

前端gjy

gjy 3 年之前
父節點
當前提交
02d54c191b
共有 1 個文件被更改,包括 5 次插入2 次删除
  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({