This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<template>
<!--router-view是VueRouter提供的一个组件,用于显示当前路由对应的组件内容。
当在路由配置中定义了不同的路径和对应的组件后,匹配到的组件会渲染到这里。-->
<router-view></router-view>
</template>
<scriptsetuplang="ts">
// 这里使用了 Vue 3 的 <script setup> 语法糖,用于组合式 API 编写组件逻辑。