🌐 AI搜索 & 代理 主页
Skip to content

Commit 9008ac6

Browse files
authored
Update main-docs.js
1 parent cd35adc commit 9008ac6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/components/main-docs.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,15 @@ export default {
4343
render(h) {
4444
// Lead section
4545
const $leadSection = h(Section, {
46-
props: { play: false },
46+
props: { tag: 'header', play: false },
4747
domProps: { innerHTML: this.titleLead }
4848
})
4949
// Available since section
5050
let $availableSinceSection = h()
5151
if (this.availableSince) {
52-
$availableSinceSection = h(Section, {
53-
props: { tag: 'header', play: false },
54-
domProps: { innerHTML: this.availableSince }
55-
})
52+
$availableSinceSection = h(Section, { props: { play: false } }, [
53+
h('p', { domProps: { innerHTML: this.availableSince } })
54+
])
5655
}
5756
// Carbon Ad
5857
const $carbonAd = h(CarbonAd, { key: `ad-${this.docPath}` })

0 commit comments

Comments
 (0)