props: ['rankName', 'rankRate', 'dateTime'],
watch: {
rankRate: {
handler (newValue, oldValue) {
this.rankRate = newValue
this.getInfoSucc() // 调用echarts
},
deep: true
}
}
props: ['rankName', 'rankRate', 'dateTime'],
watch: {
rankRate: {
handler (newValue, oldValue) {
this.rankRate = newValue
this.getInfoSucc() // 调用echarts
},
deep: true
}
}