fix
All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped
All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { FlowType } from '@/types/enum'
|
||||
const router = useRouter()
|
||||
import { ref } from 'vue'
|
||||
const route = useRoute()
|
||||
import { ref, computed } from 'vue'
|
||||
import HeaderTitle from '@/components/HeaderTitle.vue'
|
||||
import FooterNavigation from '@/components/FooterNavigation.vue'
|
||||
import RouteCache from '@/components/RouteCache.vue'
|
||||
@@ -12,12 +14,13 @@
|
||||
const handleClickProfile = () => {
|
||||
profileRef.value.open()
|
||||
}
|
||||
const notShowFooter = computed(() => route.query.flowType !== FlowType.HISTORY)
|
||||
</script>
|
||||
<template>
|
||||
<div class="workshop">
|
||||
<header-title @clickProfile="handleClickProfile" />
|
||||
<RouteCache />
|
||||
<footer-navigation />
|
||||
<footer-navigation v-if="notShowFooter" />
|
||||
</div>
|
||||
<profile ref="profileRef" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user