【类 型】:fix

【主	题】:修复导航栏bug 未成功版本(之后会追溯 特做标记)
【描	述】:
	[原因]:
	[过程]:
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-06-13 15:49:30 +08:00
parent a87a70e057
commit d2c0364cbf

View File

@ -114,6 +114,8 @@
arr: [], // item
scrollRightTop: 0, // scroll-view
timer: null, //
isScrollingByClick: false, //
}
},
onReady() {
@ -171,7 +173,7 @@
}
if (index == this.current) return
this.scrollRightTop = this.oldScrollTop
this.$nextTick(function() {
this.$nextTick(() => {
this.scrollRightTop = this.arr[index]
this.current = index
this.leftMenuStatus(index)
@ -263,7 +265,7 @@
// height2
if (!height2 || scrollHeight >= height1 && scrollHeight < height2) {
this.leftMenuStatus(i)
return
console.log('hi')
}
}
}, 10)