fix: 修改 diagram tooltip的时间 未跟panel一致的问题
This commit is contained in:
@@ -826,6 +826,13 @@ export default {
|
||||
temp.search()
|
||||
}, 1000)
|
||||
},
|
||||
searchTime: {
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler (n) {
|
||||
localStorage.setItem('panelTime', JSON.stringify(n))
|
||||
}
|
||||
},
|
||||
$route: {
|
||||
immediate: true,
|
||||
handler () {
|
||||
@@ -852,6 +859,7 @@ export default {
|
||||
if (this.scrollbarWrap) {
|
||||
this.scrollbarWrap.removeEventListener('scroll', bus.debounce)
|
||||
};
|
||||
localStorage.removeItem('panelTime')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user