From 39ae52b3f65e2bba3b6570adb51e791cb3befff7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 02 七月 2025 16:32:29 +0800
Subject: [PATCH] 提交
---
company/src/layouts/AppLayout.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/company/src/layouts/AppLayout.vue b/company/src/layouts/AppLayout.vue
index 43e3677..c3cf0f8 100644
--- a/company/src/layouts/AppLayout.vue
+++ b/company/src/layouts/AppLayout.vue
@@ -45,8 +45,11 @@
mounted() {
// 浼佷笟绔敤鎴疯缃按鍗�
- if (this.userInfo.type === 1) {
- Watermark.set(this.userInfo.company.name, this.$refs.containerS);
+ if (this.userInfo.type === 1 || this.userInfo.type === 2) {
+ if(this.userInfo.company && this.userInfo.company.name){
+ Watermark.set(this.userInfo.showCompany.name, this.$refs.containerS);
+ // Watermark.set(this.userInfo.company.name, this.$refs.containerS);
+ }
}
},
@@ -64,7 +67,7 @@
display: flex;
// overflow: hidden;
- overflow: scroll;
+ overflow: hidden;
// 宸﹁竟鑿滃崟
.el-aside {
width: $menu-width !important;
--
Gitblit v1.9.3