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

Commit b1417d1

Browse files
authored
Update main-docs.js
1 parent c0e05c9 commit b1417d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/components/main-docs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export default {
4242
render(h) {
4343
// Lead section
4444
const $leadSection = h(Section, {
45+
key: `lead-${this.docsPath}`,
4546
props: { tag: 'header', play: false },
4647
domProps: { innerHTML: this.titleLead }
4748
})
@@ -53,11 +54,12 @@ export default {
5354
])
5455
}
5556
// Carbon Ad
56-
const $carbonAd = h(CarbonAd, { key: `ad-${this.docPath}` })
57+
const $carbonAd = h(CarbonAd, { key: `ad-${this.docsPath}` })
5758
// Quick links
5859
const $quickLinks = h(QuickLinks, { key: `quick-${this.docsPath}` })
5960
// Body section
6061
const $bodySection = h(Section, {
62+
key: `body-${this.docsPath}`,
6163
props: { play: true },
6264
domProps: { innerHTML: this.body }
6365
})

0 commit comments

Comments
 (0)