Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dr.Disrespect
vue-vben-admin
提交
e9536b5b
V
vue-vben-admin
项目概览
Dr.Disrespect
/
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,体验更适合开发者的 AI 搜索 >>
提交
e9536b5b
编写于
10月 11, 2020
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf: the existing tab switching no longer displays animation and processbar
上级
526e6ce2
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
13 deletion
+8
-13
README.md
README.md
+1
-6
src/assets/images/logo.png
src/assets/images/logo.png
+0
-0
src/design/var/index.less
src/design/var/index.less
+1
-1
src/router/guard/index.ts
src/router/guard/index.ts
+4
-1
src/router/guard/progressGuard.ts
src/router/guard/progressGuard.ts
+1
-4
src/views/sys/login/Login.vue
src/views/sys/login/Login.vue
+1
-1
未找到文件。
README.md
浏览文件 @
e9536b5b
...
...
@@ -202,11 +202,8 @@ yarn clean:lib # 删除node_modules,兼容window系统
-
[x] 页面加载 loading
-
[x] 滚动条组件
-
[x] 弹窗扩展(可拖拽,全屏,自适应高度)
-
[x] 全屏
-
[x] 模拟数据
-
[x] 剪贴板封装
-
[x] hook 封装
-
[x] 项目可配置
-
[x] 表单组件
-
[x] 右键菜单
-
[x] 水印插件
...
...
@@ -214,12 +211,10 @@ yarn clean:lib # 删除node_modules,兼容window系统
-
[x] 二维码插件
-
[x] 国际化插件
-
[x] 详情组件
-
[x] 验证
码/验证
组件
-
[x] 验证组件
-
[x] 树组件
-
[x] 兼容最新
`vuex`
,
`vue-router`
-
[x] 图片预览组件
-
[x] 表格组件
-
[x] 可编辑表格
## 正在开发的功能
...
...
src/assets/images/logo.png
查看替换文件 @
526e6ce2
浏览文件 @
e9536b5b
3.9 KB
|
W:
|
H:
14.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/design/var/index.less
浏览文件 @
e9536b5b
...
...
@@ -9,7 +9,7 @@
@header-height: 42px;
// logo width
@logo-width:
32
px;
@logo-width:
40
px;
//
@sider-drag-z-index: 200;
...
...
src/router/guard/index.ts
浏览文件 @
e9536b5b
...
...
@@ -7,12 +7,15 @@ import { createProgressGuard } from './progressGuard';
import
{
createPermissionGuard
}
from
'
./permissionGuard
'
;
import
{
createPageLoadingGuard
}
from
'
./pageLoadingGuard
'
;
import
{
useSetting
}
from
'
/@/hooks/core/useSetting
'
;
import
{
getIsOpenTab
}
from
'
/@/utils/helper/routeHelper
'
;
const
{
projectSetting
}
=
useSetting
();
export
function
createGuard
(
router
:
Router
)
{
const
axiosCanceler
=
new
AxiosCanceler
();
router
.
beforeEach
(
async
()
=>
{
router
.
beforeEach
(
async
(
to
)
=>
{
const
isOpen
=
getIsOpenTab
(
to
.
path
);
to
.
meta
.
inTab
=
isOpen
;
try
{
Modal
.
destroyAll
();
notification
.
destroy
();
...
...
src/router/guard/progressGuard.ts
浏览文件 @
e9536b5b
...
...
@@ -2,16 +2,13 @@ import type { Router } from 'vue-router';
import
NProgress
from
'
nprogress
'
;
import
'
nprogress/nprogress.css
'
;
import
{
getIsOpenTab
}
from
'
/@/utils/helper/routeHelper
'
;
export
function
createProgressGuard
(
router
:
Router
)
{
// NProgress.inc(0.1);
// NProgress.configure({ easing: 'ease', speed: 200, showSpinner: false });
router
.
beforeEach
(
async
(
to
)
=>
{
const
isOpen
=
getIsOpenTab
(
to
.
path
);
to
.
meta
.
inTab
=
isOpen
;
!
isOpen
&&
NProgress
.
start
();
!
to
.
meta
.
inTab
&&
NProgress
.
start
();
return
true
;
});
router
.
afterEach
(
async
(
to
)
=>
{
...
...
src/views/sys/login/Login.vue
浏览文件 @
e9536b5b
...
...
@@ -173,7 +173,7 @@
img {
display: inline-block;
width:
48
px;
width:
80
px;
}
h1 {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录