Open GuitarmonYz opened 6 years ago
this.$http.get('/api/seller?id=' + this.seller.id).then((response) => { response = response.body; if (response.errno === ERR_OK) { this.seller = Object.assign({}, this.seller, response.data); } }); response.data 应改为response.seller, 或者调整mock的json数据
this.$http.get('/api/seller?id=' + this.seller.id).then((response) => { response = response.body; if (response.errno === ERR_OK) { this.seller = Object.assign({}, this.seller, response.data); } }); response.data 应改为response.seller, 或者调整mock的json数据