优化代码生成导出模板名称

This commit is contained in:
RuoYi 2021-04-13 14:49:42 +08:00
parent c8df1f5e1f
commit fe2ccbdc1b
2 changed files with 2 additions and 2 deletions

View File

@ -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}数据");
}
/**

View File

@ -47,7 +47,7 @@ export default {
topMenus() {
let topMenus = [];
this.routers.map((menu) => {
if (menu.hidden === false) {
if (menu.hidden !== true) {
topMenus.push(menu);
}
});