mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-10-04 15:50:00 +08:00
29 lines
742 B
Vue
29 lines
742 B
Vue
<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>
|