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.
15 lines
366 B
Vue
15 lines
366 B
Vue
<script setup lang="ts">
|
||
import type { FunctionPageModel } from '@/composables/page-drivers/useFunctionPage'
|
||
|
||
defineProps<{
|
||
page: FunctionPageModel
|
||
}>()
|
||
</script>
|
||
|
||
<template>
|
||
<!-- Page component 只呈現 page driver 解析後的功能代碼,不直接讀 route params。 -->
|
||
<v-sheet height="100%" width="100%">
|
||
{{ page.fncId }}
|
||
</v-sheet>
|
||
</template>
|