fix:监听时间的变化
This commit is contained in:
@@ -91,6 +91,16 @@ export default {
|
|||||||
return this.$store.getters.severityData
|
return this.$store.getters.severityData
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
time: {
|
||||||
|
deep: true,
|
||||||
|
handler (n) {
|
||||||
|
if (n && n.length) {
|
||||||
|
this.getTimeLineData(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user