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

bug调整

parent 20744b07
...@@ -71,10 +71,15 @@ ...@@ -71,10 +71,15 @@
mixins: [tableMixin], mixins: [tableMixin],
name: 'appVersion', name: 'appVersion',
async mounted() { async mounted() {
var yhtjChart = document.getElementById('yhtjChart'); this.getYearsToNow()
var inityhtjChart = echarts.init(yhtjChart); this.$refs['TablePager'].pageQuery()
this.myChart=inityhtjChart this.$nextTick(()=>{
this.$refs['TablePager'].pageQuery() var yhtjChart = document.getElementById('yhtjChart');
console.log(yhtjChart,'yhtjChart')
var inityhtjChart = this.$echarts.init(yhtjChart);
this.myChart=inityhtjChart
})
}, },
computed: { computed: {
radio() { radio() {
...@@ -84,10 +89,7 @@ ...@@ -84,10 +89,7 @@
}, },
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery()
},
data() { data() {
return { return {
myChart:{}, 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