fix
All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped

This commit is contained in:
李志鹏
2025-12-19 15:17:20 +08:00
parent bd36a237ec
commit 33a73643b4
4 changed files with 457 additions and 360 deletions

View File

@@ -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>