Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
啊嘞嘞EC
vue-vben-admin
提交
1ef49e54
V
vue-vben-admin
项目概览
啊嘞嘞EC
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1ef49e54
编写于
12月 12, 2020
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(menu): fix menu split mode problem
上级
6b3195b4
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
8 deletion
+7
-8
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
src/components/Menu/src/BasicMenu.tsx
src/components/Menu/src/BasicMenu.tsx
+3
-4
src/layouts/default/header/LayoutMultipleHeader.tsx
src/layouts/default/header/LayoutMultipleHeader.tsx
+2
-3
src/router/routes/modules/dashboard.ts
src/router/routes/modules/dashboard.ts
+1
-1
未找到文件。
CHANGELOG.zh_CN.md
浏览文件 @
1ef49e54
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
-
修改
`VirtualScroll`
和
`ImportExcel`
组件名为
`VScroll`
与
`ImpExcel`
,暂时解决含有关键字的组件在 vue 模版内使用内存溢出
-
修改
`VirtualScroll`
和
`ImportExcel`
组件名为
`VScroll`
与
`ImpExcel`
,暂时解决含有关键字的组件在 vue 模版内使用内存溢出
-
修复 axios 大小写问题
-
修复 axios 大小写问题
-
修复按钮样式问题
-
修复按钮样式问题
-
修复菜单分割模式问题
## 2.0.0-rc.13 (2020-12-10)
## 2.0.0-rc.13 (2020-12-10)
...
...
src/components/Menu/src/BasicMenu.tsx
浏览文件 @
1ef49e54
...
@@ -100,11 +100,10 @@ export default defineComponent({
...
@@ -100,11 +100,10 @@ export default defineComponent({
const
getWrapperStyle
=
computed
(
const
getWrapperStyle
=
computed
(
():
CSSProperties
=>
{
():
CSSProperties
=>
{
const
isHorizontal
=
unref
(
getIsHorizontal
);
const
isHorizontal
=
unref
(
getIsHorizontal
)
||
getSplit
.
value
;
return
{
return
{
height
:
isHorizontal
height
:
isHorizontal
?
`calc(100%)`
:
`calc(100% -
${
props
.
showLogo
?
'
48px
'
:
'
0px
'
}
)`
,
?
`calc(100% + 1px)`
:
`calc(100% -
${
props
.
showLogo
?
'
48px
'
:
'
0px
'
}
)`
,
overflowY
:
isHorizontal
?
'
hidden
'
:
'
auto
'
,
overflowY
:
isHorizontal
?
'
hidden
'
:
'
auto
'
,
};
};
}
}
...
...
src/layouts/default/header/LayoutMultipleHeader.tsx
浏览文件 @
1ef49e54
...
@@ -21,7 +21,7 @@ export default defineComponent({
...
@@ -21,7 +21,7 @@ export default defineComponent({
const
injectValue
=
useLayoutContext
();
const
injectValue
=
useLayoutContext
();
const
{
getCalcContentWidth
,
getSplit
}
=
useMenuSetting
();
const
{
getCalcContentWidth
}
=
useMenuSetting
();
const
{
const
{
getFixed
,
getFixed
,
...
@@ -56,8 +56,7 @@ export default defineComponent({
...
@@ -56,8 +56,7 @@ export default defineComponent({
():
CSSProperties
=>
{
():
CSSProperties
=>
{
const
style
:
CSSProperties
=
{};
const
style
:
CSSProperties
=
{};
if
(
unref
(
getFixed
))
{
if
(
unref
(
getFixed
))
{
style
.
width
=
style
.
width
=
unref
(
injectValue
.
isMobile
)
?
'
100%
'
:
unref
(
getCalcContentWidth
);
unref
(
injectValue
.
isMobile
)
||
unref
(
getSplit
)
?
'
100%
'
:
unref
(
getCalcContentWidth
);
}
}
if
(
unref
(
getShowFullHeaderRef
))
{
if
(
unref
(
getShowFullHeaderRef
))
{
style
.
top
=
`
${
unref
(
fullHeaderHeightRef
)}
px`
;
style
.
top
=
`
${
unref
(
fullHeaderHeightRef
)}
px`
;
...
...
src/router/routes/modules/dashboard.ts
浏览文件 @
1ef49e54
...
@@ -7,7 +7,7 @@ const dashboard: AppRouteModule = {
...
@@ -7,7 +7,7 @@ const dashboard: AppRouteModule = {
path
:
'
/dashboard
'
,
path
:
'
/dashboard
'
,
name
:
'
Dashboard
'
,
name
:
'
Dashboard
'
,
component
:
LAYOUT
,
component
:
LAYOUT
,
redirect
:
'
/dashboard/w
elcome
'
,
redirect
:
'
/dashboard/w
orkbench
'
,
meta
:
{
meta
:
{
icon
:
'
bx:bx-home
'
,
icon
:
'
bx:bx-home
'
,
title
:
t
(
'
routes.dashboard.dashboard
'
),
title
:
t
(
'
routes.dashboard.dashboard
'
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录