chore: 升级依赖

This commit is contained in:
kailong321200875
2022-11-28 16:11:10 +08:00
parent 3368fda251
commit 7ab20e20d7
2 changed files with 19 additions and 19 deletions

View File

@@ -137,7 +137,7 @@ const moveToCurrentTag = async () => {
const tagLinksRefs = useTemplateRefsList<RouterLinkProps>()
const moveToTarget = (currentTag: RouteLocationNormalizedLoaded) => {
const wrap$ = unref(scrollbarRef)?.wrap$
const wrap$ = unref(scrollbarRef)?.wrapRef
let firstTag: Nullable<RouterLinkProps> = null
let lastTag: Nullable<RouterLinkProps> = null
@@ -233,7 +233,7 @@ const scroll = ({ scrollLeft }) => {
// 移动到某个位置
const move = (to: number) => {
const wrap$ = unref(scrollbarRef)?.wrap$
const wrap$ = unref(scrollbarRef)?.wrapRef
const { start } = useScrollTo({
el: wrap$!,
position: 'scrollLeft',