Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_45598856
white-jotter
提交
4febad14
W
white-jotter
项目概览
qq_45598856
/
white-jotter
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
white-jotter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4febad14
编写于
11月 27, 2019
作者:
E
Evan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: fix the error performance when click menu item
上级
96446c94
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
16 deletion
+20
-16
wj-vue/src/main.js
wj-vue/src/main.js
+0
-3
wj-vue/src/router/index.js
wj-vue/src/router/index.js
+12
-5
wj/wj.sql
wj/wj.sql
+8
-8
未找到文件。
wj-vue/src/main.js
浏览文件 @
4febad14
...
...
@@ -113,9 +113,6 @@ const formatRoutes = (routes) => {
},
name
:
route
.
name
,
nameZh
:
route
.
nameZh
,
meta
:
{
requireAuth
:
true
},
iconCls
:
route
.
iconCls
,
children
:
route
.
children
}
...
...
wj-vue/src/router/index.js
浏览文件 @
4febad14
...
...
@@ -8,6 +8,8 @@ import Login from '../components/Login'
import
Home
from
'
../components/Home
'
import
AdminIndex
from
'
../components/admin/AdminIndex
'
import
Register
from
'
../components/Register
'
// import UserProfile from '../components/admin/user/UserProfile'
// import UserRole from '../components/admin/user/UserRole'
// import UserBasic from '../components/admin/user/UserBasic'
Vue
.
use
(
Router
)
...
...
@@ -71,11 +73,16 @@ export default new Router({
requireAuth
:
true
}
// children: [
// {
// path: '/admin/basic',
// name: 'basic',
// component: UserBasic
// }
// {
// path: '/admin/profile',
// name: 'basic',
// component: UserProfile
// },
// {
// path: '/admin/role',
// name: 'basic',
// component: UserRole
// }
// ]
}
]
...
...
wj/wj.sql
浏览文件 @
4febad14
...
...
@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 80015
File Encoding : 65001
Date: 2019-11-
17 21:56:24
Date: 2019-11-
27 21:47:25
*/
SET
FOREIGN_KEY_CHECKS
=
0
;
...
...
@@ -24,7 +24,7 @@ CREATE TABLE `admin_menu` (
`path`
varchar
(
64
)
DEFAULT
NULL
,
`name`
varchar
(
64
)
DEFAULT
NULL
,
`name_zh`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_0900_ai_ci
DEFAULT
NULL
,
`icon`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_0900_ai_ci
DEFAULT
NULL
,
`icon
_cls
`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_0900_ai_ci
DEFAULT
NULL
,
`component`
varchar
(
64
)
DEFAULT
NULL
,
`parent_id`
int
(
11
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
...
...
@@ -33,12 +33,12 @@ CREATE TABLE `admin_menu` (
-- ----------------------------
-- Records of admin_menu
-- ----------------------------
INSERT
INTO
`admin_menu`
VALUES
(
'1'
,
'/admin'
,
null
,
'用户管理'
,
'el-icon-user'
,
'AdminIndex'
,
'0'
);
INSERT
INTO
`admin_menu`
VALUES
(
'2'
,
'/admin'
,
null
,
'内容管理'
,
'el-icon-tickets'
,
'AdminIndex'
,
'0'
);
INSERT
INTO
`admin_menu`
VALUES
(
'3'
,
'/admin'
,
null
,
'系统配置'
,
'el-icon-s-tools'
,
'AdminIndex'
,
'0'
);
INSERT
INTO
`admin_menu`
VALUES
(
'4'
,
'/admin/
user/basic'
,
null
,
'用户信息'
,
null
,
'UserBasic
'
,
'1'
);
INSERT
INTO
`admin_menu`
VALUES
(
'5'
,
'/admin/
user/role'
,
null
,
'角色配置'
,
null
,
'UserRole'
,
'1'
);
INSERT
INTO
`admin_menu`
VALUES
(
'6'
,
'/admin/
cont/book'
,
null
,
'图书管理'
,
null
,
'LibraryManagement'
,
'2'
);
INSERT
INTO
`admin_menu`
VALUES
(
'1'
,
'/admin'
,
'User'
,
'用户管理'
,
'el-icon-user'
,
'AdminIndex'
,
'0'
);
INSERT
INTO
`admin_menu`
VALUES
(
'2'
,
'/admin'
,
'Content'
,
'内容管理'
,
'el-icon-tickets'
,
'AdminIndex'
,
'0'
);
INSERT
INTO
`admin_menu`
VALUES
(
'3'
,
'/admin'
,
'System'
,
'系统配置'
,
'el-icon-s-tools'
,
'AdminIndex'
,
'0'
);
INSERT
INTO
`admin_menu`
VALUES
(
'4'
,
'/admin/
profile'
,
'Profile'
,
'用户信息'
,
null
,
'UserProfile
'
,
'1'
);
INSERT
INTO
`admin_menu`
VALUES
(
'5'
,
'/admin/
role'
,
'Role'
,
'角色配置'
,
null
,
'UserRole'
,
'1'
);
INSERT
INTO
`admin_menu`
VALUES
(
'6'
,
'/admin/
book'
,
'Book'
,
'图书管理'
,
null
,
'LibraryManagement'
,
'2'
);
-- ----------------------------
-- Table structure for admin_permission
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录