为什么在mounted中无法获取到dom节点`mounted() {console.log('aaaaaaa', document.getElementById('spChart'));this.Sdisease();// const echarts = require('echarts');// const spxoption = echarts.init(document.getElementById('spChart'));// console.log(spxoption);},`输出为null
添加回答
举报
0/150
提交
取消