cad44db4c7
Add inline comments to page components documenting how page models, v-model state, and emitted user intents flow through the page driver. This clarifies that page components remain presentation-focused while routing, dialog state, CRUD side effects, and command handling stay in the page driver or related composables.docs(pages): clarify page driver component boundaries Add inline comments to page components documenting how page models, v-model state, and emitted user intents flow through the page driver. This clarifies that page components remain presentation-focused while routing, dialog state, CRUD side effects, and command handling stay in the page driver or related composables.
14 lines
397 B
Vue
14 lines
397 B
Vue
<script setup lang="ts">
|
||
import EditableStudentGrid from '@/components/maint/EditableGrid.vue'
|
||
import type { MaintenancePageModel } from '@/models/page'
|
||
|
||
defineProps<{
|
||
page: MaintenancePageModel
|
||
}>()
|
||
</script>
|
||
|
||
<template>
|
||
<!-- Page component 接收 page model,再把頁面標題轉交給既有 editable grid feature component。 -->
|
||
<EditableStudentGrid :title="page.title" />
|
||
</template>
|