From f348113bef479f8bf768c97cf88ecb5cce160117 Mon Sep 17 00:00:00 2001 From: schry <2433098676@qq.com> Date: Fri, 14 Jul 2023 10:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=A4=87=E4=BB=BD?= 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 96add313..90942b1e 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,