From b6fde711bf33cede4cb84f85146c32b0c0c61aa5 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 04 十一月 2024 09:06:28 +0800
Subject: [PATCH] 优化需求
---
company/src/layouts/AppLayout.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/company/src/layouts/AppLayout.vue b/company/src/layouts/AppLayout.vue
index 43e3677..96b84b5 100644
--- a/company/src/layouts/AppLayout.vue
+++ b/company/src/layouts/AppLayout.vue
@@ -45,8 +45,10 @@
mounted() {
// 浼佷笟绔敤鎴疯缃按鍗�
- if (this.userInfo.type === 1) {
+ if (this.userInfo.type === 1 || this.userInfo.type === 2) {
+ if(this.userInfo.company && this.userInfo.company.name){
Watermark.set(this.userInfo.company.name, this.$refs.containerS);
+ }
}
},
--
Gitblit v1.9.3