Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
73c2338d
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
73c2338d
编写于
6月 10, 2022
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复系统设置-菜单部署滚动条的问题
上级
0f06ce10
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
41 addition
and
4 deletion
+41
-4
o2web/source/o2_core/o2/xDesktop/Default.js
o2web/source/o2_core/o2/xDesktop/Default.js
+2
-2
o2web/source/x_component_Setting/SettingModuleMenu.js
o2web/source/x_component_Setting/SettingModuleMenu.js
+39
-2
未找到文件。
o2web/source/o2_core/o2/xDesktop/Default.js
浏览文件 @
73c2338d
...
...
@@ -1310,11 +1310,11 @@ o2.xDesktop.Default.StartMenu = new Class({
}.
bind
(
this
),
"
failure
"
:
function
(){}}
);
}.
bind
(
this
));
}.
bind
(
this
)
,
iconsPath
);
}.
bind
(
this
));
},
getIconsJson
:
function
(
callback
){
getIconsJson
:
function
(
callback
,
iconsPath
){
if
(
this
.
layout
.
iconsJson
){
if
(
callback
)
callback
();
}
else
{
...
...
o2web/source/x_component_Setting/SettingModuleMenu.js
浏览文件 @
73c2338d
...
...
@@ -33,10 +33,10 @@ o2.xApplication.Setting.ModuleMenuDocument = new Class({
}).
inject
(
this
.
content
);
this
.
actionsArea
=
new
Element
(
"
div
"
,
{
styles
:
{
"
height
"
:
"
100%
"
,
"
height
"
:
"
calc( 100% - 40px )
"
,
"
overflow
"
:
"
hidden
"
,
"
margin-left
"
:
"
420px
"
,
"
padding
"
:
"
4
0px 20px
"
"
padding
"
:
"
2
0px 20px
"
}
}).
inject
(
this
.
content
);
...
...
@@ -197,6 +197,8 @@ o2.xApplication.Setting.ModuleMenuDocument.StartMenu = new Class({
"
</div>
"
+
"
<div class='layout_start_item_text'></div>
"
+
"
<div class='layout_start_item_badge'></div>
"
;
this
.
checkLayout
();
},
loadMenuData
:
function
(
callback
){
debugger
;
...
...
@@ -253,11 +255,46 @@ o2.xApplication.Setting.ModuleMenuDocument.StartMenu = new Class({
this
.
loadTitle
();
this
.
loadLnks
();
this
.
setSize
();
this
.
isLoaded
=
true
;
this
.
fireEvent
(
"
load
"
);
}.
bind
(
this
));
}.
bind
(
this
));
},
setSize
:
function
(){
if
(
this
.
appScrollBar
&&
this
.
appScrollBar
.
scrollVNode
)
this
.
appScrollBar
.
scrollVNode
.
setStyle
(
"
margin-top
"
,
"
0px
"
);
var
isLnk
=
false
;
if
(
false
&&
this
.
layout
.
lnks
&&
this
.
layout
.
lnks
.
length
){
this
.
lnkAreaNode
.
show
();
this
.
lineNode
.
show
();
var
h
=
100
*
3
;
this
.
lnkScrollNode
.
setStyle
(
"
height
"
,
""
+
h
+
"
px
"
);
isLnk
=
true
;
}
else
{
this
.
lnkAreaNode
.
hide
();
this
.
lineNode
.
hide
();
}
debugger
;
if
(
!
this
.
node
.
offsetParent
)
this
.
node
.
show
();
var
size
=
this
.
node
.
getSize
();
var
lnkSizeY
=
(
isLnk
)
?
this
.
lnkAreaNode
.
getSize
().
y
:
0
;
var
lineSizeY
=
(
isLnk
)
?
this
.
lineNode
.
getSize
().
y
:
0
;
var
mt
=
(
isLnk
)
?
(
this
.
lineNode
.
getStyle
(
"
margin-top
"
).
toInt
()
||
0
)
:
0
;
var
mb
=
(
isLnk
)
?
(
this
.
lineNode
.
getStyle
(
"
margin-bottom
"
).
toInt
()
||
0
)
:
0
;
var
titleSize
=
this
.
appTitleNode
.
getSize
();
var
y
=
size
.
y
-
lnkSizeY
-
lineSizeY
-
mt
-
mb
-
titleSize
.
y
-
40
;
this
.
appScrollNode
.
setStyle
(
"
height
"
,
""
+
y
+
"
px
"
);
},
checkLayout
:
function
(){
if
(
!
this
.
layout
.
path
)
this
.
layout
.
path
=
o2
.
session
.
path
+
"
/xDesktop/$Default/
"
;
if
(
!
this
.
layout
.
options
)
this
.
layout
.
options
=
{};
if
(
!
this
.
layout
.
options
.
style
)
this
.
layout
.
options
.
style
=
"
blue
"
;
},
reload
:
function
(
menuData
){
this
.
menuData
=
menuData
||
{
"
appList
"
:
[],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录