refactor: App.vue 去掉 defineOptions name,保持子项目纯净

KeepAlive 匹配名改由 mainPage 侧包装器(Timetable.vue)持有,
子项目不再依赖宿主的缓存约定。独立运行不受影响(42 测试通过)。
This commit is contained in:
2026-07-23 04:04:16 +00:00
parent a49a725950
commit 17aeea8359

View File

@@ -1,8 +1,4 @@
<script setup>
// 组件名与 mainPage 模块 id 一致,供 <KeepAlive :include> 按 id 精确匹配。
// 作为独立 app 运行时该名不影响行为。
defineOptions({ name: 'timetable' })
import { useCalendar } from './composables/useCalendar.js'
import DropZone from './components/DropZone.vue'
import HeaderBar from './components/HeaderBar.vue'