Commit b8261c8e authored by 李苏's avatar 李苏 💬

bug调整

parent 20744b07
......@@ -71,10 +71,15 @@
mixins: [tableMixin],
name: 'appVersion',
async mounted() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery()
this.$nextTick(()=>{
var yhtjChart = document.getElementById('yhtjChart');
var inityhtjChart = echarts.init(yhtjChart);
console.log(yhtjChart,'yhtjChart')
var inityhtjChart = this.$echarts.init(yhtjChart);
this.myChart=inityhtjChart
this.$refs['TablePager'].pageQuery()
})
},
computed: {
radio() {
......@@ -84,10 +89,7 @@
},
/* 初始额外赋值*/
async mounted() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery()
},
data() {
return {
myChart:{},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment