From fe2ccbdc1b2c5601d4c4ebb21eec182d42fc65e0 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 13 Apr 2021 14:49:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=AF=BC=E5=87=BA=E6=A8=A1=E6=9D=BF=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-generator/src/main/resources/vm/java/controller.java.vm | 2 +- ruoyi-ui/src/components/TopNav/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm index c5326051..1f9461fb 100644 --- a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm +++ b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm @@ -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}数据"); } /** diff --git a/ruoyi-ui/src/components/TopNav/index.vue b/ruoyi-ui/src/components/TopNav/index.vue index 23976283..31d06e25 100644 --- a/ruoyi-ui/src/components/TopNav/index.vue +++ b/ruoyi-ui/src/components/TopNav/index.vue @@ -47,7 +47,7 @@ export default { topMenus() { let topMenus = []; this.routers.map((menu) => { - if (menu.hidden === false) { + if (menu.hidden !== true) { topMenus.push(menu); } });