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

duhanyu
RuoYi 4 years ago
parent c8df1f5e1f
commit fe2ccbdc1b

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

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

Loading…
Cancel
Save