2025-07-03 10:53:29 +08:00

29 lines
742 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup lang="ts">
import { useTabStore } from '@/store'
const { modifyTab } = useTabStore()
const { fullPath, query } = useRoute()
modifyTab(fullPath, (target) => {
target.meta.title = `详情页${query.id}`
})
</script>
<template>
<n-space vertical>
<n-alert title="目前可公开的情报" type="warning">
这是详情子页他不会出现在侧边栏,他其实是上个页面的同级并不是下级这个要注意
</n-alert>
<n-alert title="目前可公开的情报" type="info">
这个页面不需要登陆也可以访问复制地址到其他浏览器打开查看
</n-alert>
<n-h2>
详情页id:{{ query.id }}
</n-h2>
</n-space>
</template>
<style scoped></style>