|
@@ -52,8 +52,17 @@ export default {
|
|
name: ''
|
|
name: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ watch: {
|
|
|
|
+ message: {
|
|
|
|
+ handler(newV) {
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ this.idGet(newV)
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ immediate: true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
mounted() {
|
|
mounted() {
|
|
- this.idGet()
|
|
|
|
const myChart = echarts.init(document.getElementById('lineShow'))
|
|
const myChart = echarts.init(document.getElementById('lineShow'))
|
|
const myChartA = echarts.init(document.getElementById('barShow'))
|
|
const myChartA = echarts.init(document.getElementById('barShow'))
|
|
window.addEventListener('resize', () => {
|
|
window.addEventListener('resize', () => {
|