From 19621635052322005f31579f7f3d481750898d7c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 31 Dec 2021 08:56:36 +0800
Subject: [PATCH] 部分更改
---
src/pcviews/orgnav/teaching.vue | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/pcviews/orgnav/teaching.vue b/src/pcviews/orgnav/teaching.vue
index 4c41603..595e871 100644
--- a/src/pcviews/orgnav/teaching.vue
+++ b/src/pcviews/orgnav/teaching.vue
@@ -3,7 +3,7 @@
* @Name: 教学与科研机构
* @Date: 2021-11-15 10:02:12
* @Last Modified by: Morpheus
- * @Last Modified time: 2021-12-25 15:11:00
+ * @Last Modified time: 2021-12-30 14:26:13
*/
<template>
<div>
@@ -25,10 +25,11 @@
computed: {
...mapGetters([
// 校内导航的显示关闭
+ 'orgNavBarFlag',
'arcNavBarFlag'
])
},
- created () {
+ mounted () {
if (this.arcNavBarFlag == true) {
this.$store.commit('SET_ARCNAVBARTITLE', '')
this.$store.commit('SET_ARCNAVBARCODE', '')
@@ -54,7 +55,8 @@
QRImg: item.codeurl,
address: item.address,
telephone: item.telephone,
- introduce: item.introduce
+ introduce: item.introduce,
+ videourl: item.videourl
})
})
@@ -63,6 +65,13 @@
},
methods: {
+ },
+ beforeDestroy () {
+ if (this.orgNavBarFlag == true) {
+ this.$store.commit('SET_ORGNAVBARTITLE', '')
+ this.$store.commit('SET_ORGNAVBARLIST', [])
+ this.$store.commit('SET_ORGNAVBARFLAG', false)
+ }
}
}
</script>
--
Gitblit v1.9.3