From 81f54040c2cb65537c6c6e1db8358a39a57dea0d Mon Sep 17 00:00:00 2001
From: mayisheng <admin>
Date: Mon, 15 Aug 2022 16:14:01 +0800
Subject: [PATCH] 1
---
src/pcviews/arc/edifact.vue | 37 ++++++++++++++++---------------------
1 files changed, 16 insertions(+), 21 deletions(-)
diff --git a/src/pcviews/arc/edifact.vue b/src/pcviews/arc/edifact.vue
index 9a449f5..ce48781 100644
--- a/src/pcviews/arc/edifact.vue
+++ b/src/pcviews/arc/edifact.vue
@@ -1,33 +1,24 @@
-/*
- * @Author: Morpheus
- * @Name: 行政办公
- * @Date: 2021-11-15 17:14:47
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-12-25 14:42:35
- */
+/* * @Author: Morpheus * @Name: 行政办公 * @Date: 2021-11-15 17:14:47 * @Last
+Modified by: Morpheus * @Last Modified time: 2021-12-30 14:23:28 */
<template>
- <div>
-
- </div>
+ <div></div>
</template>
<script>
-
import { mapGetters } from 'vuex'
export default {
data () {
- return {
-
- }
+ return {}
},
computed: {
...mapGetters([
- // 校内导航的显示关闭
- 'orgNavBarFlag'
+ // 校区内导航的显示关闭
+ 'orgNavBarFlag',
+ 'arcNavBarFlag'
])
},
- created () {
+ mounted () {
if (this.orgNavBarFlag == true) {
this.$store.commit('SET_ORGNAVBARTITLE', '')
this.$store.commit('SET_ORGNAVBARLIST', [])
@@ -37,11 +28,15 @@
this.$store.commit('SET_ARCNAVBARCODE', 1)
this.$store.commit('SET_ARCNAVBARFLAG', true)
},
- methods: {
-
+ methods: {},
+ beforeDestroy () {
+ if (this.arcNavBarFlag == true) {
+ this.$store.commit('SET_ARCNAVBARTITLE', '')
+ this.$store.commit('SET_ARCNAVBARCODE', '')
+ this.$store.commit('SET_ARCNAVBARFLAG', false)
+ }
}
}
</script>
-<style>
-</style>
+<style></style>
--
Gitblit v1.9.3