关于VUE+G2chat的使用问题 遇到的问题: 1、axios获取数据后无法获取显示到图中 2、返回的json将int自动转换成string 3、G2图表不能显示数据,async的问题 第一个问题解决办法: 采用异步模式 async initData () { //此处异步拉取数据解决G2无法获取数据问题 const params = { fit: this.fit } this.dep = await scoreService.scorecharts(params); }, 第二个问题解决办法: