Skip to content

Commit 60e9b36

Browse files
author
piexl
committed
修复参数或者路由中携带-导致关闭左侧和关闭右侧失效的问题
1 parent f9d8ec0 commit 60e9b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/view/layout/aside/historyComponent/history.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const openContextMenu = (e) => {
112112
}
113113
left.value = e.clientX - width
114114
top.value = e.clientY + 10
115-
rightActive.value = id.split('-')[1]
115+
rightActive.value = id.substring(4)
116116
}
117117
}
118118
const closeAll = () => {

0 commit comments

Comments
 (0)