20 lines
597 B
Vue
20 lines
597 B
Vue
<!-- Author: fruit.com.cn -->
|
||
|
||
<script setup lang="ts">
|
||
import { computed } from 'vue'
|
||
import { useRoute } from 'vue-router'
|
||
|
||
const route = useRoute()
|
||
const title = computed(() => (route.meta?.title as string) || '菜单页面')
|
||
</script>
|
||
|
||
<template>
|
||
<div class="page-heading"
|
||
><div
|
||
><div class="eyebrow">自定义菜单</div><h1>{{ title }}</h1
|
||
><p>该菜单已注册,可在菜单管理中把组件路径指向已有页面。</p></div
|
||
></div
|
||
>
|
||
<section class="panel"><el-empty description="菜单已创建,可以继续配置页面内容。" /></section>
|
||
</template>
|