mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
修复部分场景下文档右侧目录高度不能正确读取的问题
This commit is contained in:
parent
d62cdc79e0
commit
93a03c92e3
@ -30,7 +30,8 @@ function subNavDraw(hook, vm) {
|
||||
|
||||
// 修改高度
|
||||
const $dom = $('.app-sub-sidebar');
|
||||
$('.doc-right-more-item').css({ top: ($dom.height() + 80) + 'px' })
|
||||
console.log($dom, $dom.height());
|
||||
$('.doc-right-more-item').css({ top: (($dom.height() ?? 0) + 80) + 'px' })
|
||||
|
||||
// 重新定位 active-rep 对应的菜单
|
||||
positioningVmActiveRep(vm);
|
||||
|
Loading…
Reference in New Issue
Block a user