mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 03:52:50 +00:00
perf: 逻辑强化
This commit is contained in:
parent
5760d3ef0f
commit
43b665652e
@ -2301,6 +2301,9 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$nextTick(()=>{
|
this.$nextTick(()=>{
|
||||||
|
if(!this.$refs.scroller){
|
||||||
|
return;
|
||||||
|
}
|
||||||
if(!this.$refs.scroller.$el.querySelector('div.active')){
|
if(!this.$refs.scroller.$el.querySelector('div.active')){
|
||||||
this.$refs.scroller.activeEvent(this.$refs.scroller.$el)
|
this.$refs.scroller.activeEvent(this.$refs.scroller.$el)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user