From b89d2b1597884409656b63ed5c218177f843f63f Mon Sep 17 00:00:00 2001 From: schry <2433098676@qq.com> Date: Fri, 14 Jul 2023 10:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=99=BB=E9=99=86=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E4=BC=9A=E6=98=BE=E7=A4=BA=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 91d3d48..add427d 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -13,7 +13,7 @@ style="margin: 10px;color: #2d8cf0;font-size: 14px;">部门 : {{ deptName }} 仓库 : {{ inv }} - 用户 : 吴XX{{ this.companyName }} + 用户 : {{ this.companyName }} ({{ this.userName @@ -434,6 +434,7 @@ export default { }, created() { this.userName = this.$store.getters.name; + this.companyName = this.$store.getters.companyName; this.userInfo = { id: store.getters.adminId, locInvCode: store.getters.locInvCode,