|
@@ -66,10 +66,11 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts" name="MarkHeader">
|
|
<script setup lang="ts" name="MarkHeader">
|
|
-import { reactive, ref, computed, useAttrs, watch, onUnmounted } from 'vue'
|
|
|
|
|
|
+import { reactive, ref, computed, useAttrs, watch, onMounted, onUnmounted } from 'vue'
|
|
import { useRoute } from 'vue-router'
|
|
import { useRoute } from 'vue-router'
|
|
import { add, minus } from '@/utils/common'
|
|
import { add, minus } from '@/utils/common'
|
|
import useMainStore from '@/store/main'
|
|
import useMainStore from '@/store/main'
|
|
|
|
+import useLayoutStore from '@/store/layout'
|
|
import SvgIcon from '@/components/common/SvgIcon.vue'
|
|
import SvgIcon from '@/components/common/SvgIcon.vue'
|
|
import ColorPicker from '@/components/common/ColorPicker.vue'
|
|
import ColorPicker from '@/components/common/ColorPicker.vue'
|
|
import Message from '@/components/shared/message/Message.vue'
|
|
import Message from '@/components/shared/message/Message.vue'
|
|
@@ -341,6 +342,13 @@ const willLogout = async () => {
|
|
// })
|
|
// })
|
|
// }
|
|
// }
|
|
// })
|
|
// })
|
|
|
|
+const layoutStore = useLayoutStore()
|
|
|
|
+onMounted(() => {
|
|
|
|
+ layoutStore.toggleMarkerHeaderLoaded(true)
|
|
|
|
+})
|
|
|
|
+onUnmounted(() => {
|
|
|
|
+ layoutStore.toggleMarkerHeaderLoaded(false)
|
|
|
|
+})
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|