Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
renren-generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
renren-generator
Commits
cd344e51
Commit
cd344e51
authored
Jul 17, 2023
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化
parent
0ac2b4b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue.vm
src/main/resources/template/index.vue.vm
+2
-2
menu.sql.vm
src/main/resources/template/menu.sql.vm
+1
-1
No files found.
src/main/resources/template/index.vue.vm
View file @
cd344e51
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
})
})
}).then(({data}) => {
}).then(({data}) => {
if (data && data.code === 0) {
if (data && data.code === 0) {
this.dataList = data.
page
.list
this.dataList = data.
data
.list
this.totalPage = data.
page.
totalCount
this.totalPage = data.totalCount
} else {
} else {
this.dataList = []
this.dataList = []
this.totalPage = 0
this.totalPage = 0
...
...
src/main/resources/template/menu.sql.vm
View file @
cd344e51
-- 菜单SQL
-- 菜单SQL
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
VALUES ('
1
', '${comments}', '${moduleName}/${pathName}', NULL, '1', 'config', '6');
VALUES ('
0
', '${comments}', '${moduleName}/${pathName}', NULL, '1', 'config', '6');
-- 按钮父菜单ID
-- 按钮父菜单ID
set @parentId = @@identity;
set @parentId = @@identity;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment