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() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery()
this.$nextTick(()=>{
var yhtjChart = document.getElementById('yhtjChart'); var yhtjChart = document.getElementById('yhtjChart');
var inityhtjChart = echarts.init(yhtjChart); console.log(yhtjChart,'yhtjChart')
var inityhtjChart = this.$echarts.init(yhtjChart);
this.myChart=inityhtjChart this.myChart=inityhtjChart
this.$refs['TablePager'].pageQuery()
})
}, },
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