对于这种场景, <slot> 元素可以有一个特殊的attribute name ,用来给各个插槽分配唯一 ... <BaseLayout> <template #header> <h1>Here might be a page title</h1> ...
確定! 回上一頁