fix(doc of section): fix page error of section document
This commit is contained in:
parent
5ecce1a26a
commit
1ca866a44d
|
@ -79,7 +79,7 @@ export default defineComponent({
|
|||
{shouldShowHeaderTitle.value && (
|
||||
<div class="f-title">
|
||||
<h4 class="f-title-text">{mainTitle.value}</h4>
|
||||
{shouldShowSubHeaderTitle.value && <span>{subTitle}</span>}
|
||||
{shouldShowSubHeaderTitle.value && <span>{subTitle.value}</span>}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
@ -11,10 +11,8 @@ Section 组件为开发者提供了一个具有标题的组件容器。
|
|||
import { ref } from 'vue';
|
||||
</script>
|
||||
<template>
|
||||
<f-section main-title="This is a section title">
|
||||
<div>
|
||||
<span>This is setion content.</span>
|
||||
</div>
|
||||
<f-section main-title="This is section title">
|
||||
<div>This is section component.</div>
|
||||
</f-section>
|
||||
</template>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue