zhangdan 4 vuotta sitten
vanhempi
commit
69f1f9964e
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/views/equipmentManage/collector/addCollector.vue

+ 2 - 1
src/views/equipmentManage/collector/addCollector.vue

@@ -93,9 +93,10 @@ export default {
         if (res.status == 200) {
           console.log(res, '-------数据')
           _this.loading = false
+          // _this.formData = Object.assign({}, this.formData, res.data)
           _this.formData.gatherName = res.data.gatherName
           _this.formData.gatherPhone = res.data.gatherPhone
-          _this.formData.stationNo = res.data.stationName
+          _this.formData.stationNo = res.data.stationNo
         }
       })
     },