Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
fe2ccbdc
Commit
fe2ccbdc
authored
Apr 13, 2021
by
RuoYi
Browse files
优化代码生成导出模板名称
parent
c8df1f5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/java/controller.java.vm
View file @
fe2ccbdc
...
...
@@ -66,7 +66,7 @@ public class ${ClassName}Controller extends BaseController
{
List
<
${
ClassName
}
>
list =
${
className
}
Service.select
${
ClassName
}
List(
${
className
}
);
ExcelUtil
<
${
ClassName
}
>
util = new ExcelUtil
<
${
ClassName
}
>
(
${
ClassName
}
.class);
return util.exportExcel(list, "
${
functionName
}
");
return util.exportExcel(list, "
${
functionName
}
数据
");
}
/**
...
...
ruoyi-ui/src/components/TopNav/index.vue
View file @
fe2ccbdc
...
...
@@ -47,7 +47,7 @@ export default {
topMenus
()
{
let
topMenus
=
[];
this
.
routers
.
map
((
menu
)
=>
{
if
(
menu
.
hidden
=
==
fals
e
)
{
if
(
menu
.
hidden
!
==
tru
e
)
{
topMenus
.
push
(
menu
);
}
});
...
...
Write
Preview
Supports
Markdown
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