From e733164e1c779b3aef7245936b9daf7875bf791e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 14 Dec 2023 17:12:33 +0800
Subject: [PATCH] 解决屏幕缩放导致鼠标位置不准确的问题,右侧,切换校区后的显示BUG

---
 src/pcviews/orgnav/rest.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/pcviews/orgnav/rest.vue b/src/pcviews/orgnav/rest.vue
index 4b93e44..de0bc1c 100644
--- a/src/pcviews/orgnav/rest.vue
+++ b/src/pcviews/orgnav/rest.vue
@@ -13,6 +13,9 @@
             list: []
         }
     },
+
+    inject: ["layoutElement"],
+
     computed: {
         ...mapGetters([
             // 校园内导航的显示关闭
@@ -31,7 +34,7 @@
 
         this.$store.commit('SET_ORGNAVBARFLAG', true)
 
-        getList({ type: 5 }).then((res) => {
+        getList({ type: 5, campus: this.layoutElement.campusValue }).then((res) => {
             res.data.data.records.forEach((item) => {
                 this.list.push({
                     navTitle: item.mechanismname,

--
Gitblit v1.9.3