fix(mdAnchor):折叠Anchor时body宽度自适应
This commit is contained in:
parent
52beb5e9b7
commit
fa94d75f0b
@ -67,6 +67,7 @@ const classAsideBtn = computed(() => [
|
||||
const handlerBtnClick = () => {
|
||||
show.value = !show.value;
|
||||
iconType.value = show.value ? "layui-icon-right" : "layui-icon-left";
|
||||
scrollRefEl.value!.firstElementChild!.style.marginRight = show.value ? "180px" : "0px";
|
||||
};
|
||||
|
||||
const handlerListItemClick = (index: number, id: string) => {
|
||||
|
Loading…
Reference in New Issue
Block a user