不知的错误,谁能解释一下,明细有数据,但输出都为空?
[图片] 明细已写进数据,但获取都是空数据(如首行) console.log(this.data.companyinfo) 输出为 空 ---------------------------------------------------------------------------------------------------------------------------------------------------- 代码: data: { companyid:999, reserror: 0, resmsg: '', companyinfo: {city: "北京"}, }, console.log('companyinfo before :', this.data.companyinfo) this.getcompanyinfo(this.data.companyid) console.log('companyinfo After :', this.data.companyinfo) 执行结果: [图片] 1.执行顺序,有问题?