mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 09:02:52 +08:00
调整滚动触发时机
This commit is contained in:
@@ -82,10 +82,9 @@ export default {
|
||||
},
|
||||
onInputFocus() {
|
||||
this.showCustomer = true
|
||||
this.$refs.search_box.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth'
|
||||
})
|
||||
setTimeout(() => {
|
||||
this.$refs.picker.scrollIntoView()
|
||||
}, 300)
|
||||
this.$nextTick(() => {
|
||||
this.$refs.picker.scrollTo({
|
||||
top: 0,
|
||||
|
||||
Reference in New Issue
Block a user