Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
1ef49e54
提交
1ef49e54
authored
12月 12, 2020
作者:
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(menu): fix menu split mode problem
上级
6b3195b4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
7 行增加
和
8 行删除
+7
-8
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
BasicMenu.tsx
src/components/Menu/src/BasicMenu.tsx
+3
-4
LayoutMultipleHeader.tsx
src/layouts/default/header/LayoutMultipleHeader.tsx
+2
-3
dashboard.ts
src/router/routes/modules/dashboard.ts
+1
-1
没有找到文件。
CHANGELOG.zh_CN.md
浏览文件 @
1ef49e54
...
...
@@ -21,6 +21,7 @@
-
修改
`VirtualScroll`
和
`ImportExcel`
组件名为
`VScroll`
与
`ImpExcel`
,暂时解决含有关键字的组件在 vue 模版内使用内存溢出
-
修复 axios 大小写问题
-
修复按钮样式问题
-
修复菜单分割模式问题
## 2.0.0-rc.13 (2020-12-10)
...
...
src/components/Menu/src/BasicMenu.tsx
浏览文件 @
1ef49e54
...
...
@@ -100,11 +100,10 @@ export default defineComponent({
const
getWrapperStyle
=
computed
(
():
CSSProperties
=>
{
const
isHorizontal
=
unref
(
getIsHorizontal
);
const
isHorizontal
=
unref
(
getIsHorizontal
)
||
getSplit
.
value
;
return
{
height
:
isHorizontal
?
`calc(100% + 1px)`
:
`calc(100% -
${
props
.
showLogo
?
'48px'
:
'0px'
}
)`
,
height
:
isHorizontal
?
`calc(100%)`
:
`calc(100% -
${
props
.
showLogo
?
'48px'
:
'0px'
}
)`
,
overflowY
:
isHorizontal
?
'hidden'
:
'auto'
,
};
}
...
...
src/layouts/default/header/LayoutMultipleHeader.tsx
浏览文件 @
1ef49e54
...
...
@@ -21,7 +21,7 @@ export default defineComponent({
const
injectValue
=
useLayoutContext
();
const
{
getCalcContentWidth
,
getSplit
}
=
useMenuSetting
();
const
{
getCalcContentWidth
}
=
useMenuSetting
();
const
{
getFixed
,
...
...
@@ -56,8 +56,7 @@ export default defineComponent({
():
CSSProperties
=>
{
const
style
:
CSSProperties
=
{};
if
(
unref
(
getFixed
))
{
style
.
width
=
unref
(
injectValue
.
isMobile
)
||
unref
(
getSplit
)
?
'100%'
:
unref
(
getCalcContentWidth
);
style
.
width
=
unref
(
injectValue
.
isMobile
)
?
'100%'
:
unref
(
getCalcContentWidth
);
}
if
(
unref
(
getShowFullHeaderRef
))
{
style
.
top
=
`
${
unref
(
fullHeaderHeightRef
)}
px`
;
...
...
src/router/routes/modules/dashboard.ts
浏览文件 @
1ef49e54
...
...
@@ -7,7 +7,7 @@ const dashboard: AppRouteModule = {
path
:
'/dashboard'
,
name
:
'Dashboard'
,
component
:
LAYOUT
,
redirect
:
'/dashboard/w
elcome
'
,
redirect
:
'/dashboard/w
orkbench
'
,
meta
:
{
icon
:
'bx:bx-home'
,
title
:
t
(
'routes.dashboard.dashboard'
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论