Skip to content

Commit

Permalink
1. 打开项目时,左侧目录应按创建文档时的实际选择默认展开或收起
Browse files Browse the repository at this point in the history
  • Loading branch information
haimait committed Oct 28, 2022
1 parent d3993a2 commit 2862cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/document/default_read.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ $(function () {
});
window.menuControl = true;
window.menuSetting = "open" ;
// window.menuSetting = "open" ;
if (menuSetting == 'open' || menuSetting == 'first') {
$('#handlerMenuShow').find('span').text('{{i18n .Lang "doc.fold"}}');
$('#handlerMenuShow').find('i').attr("class","fa fa-angle-down");
Expand Down

1 comment on commit 2862cb7

@yuanpengchao
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注释掉之后,控制台会报错, menuSetting undefined

Please sign in to comment.