chore: tweak

This commit is contained in:
pengzhanbo 2024-05-24 00:25:03 +08:00
parent 12e607e01c
commit 252fdd0caf
2 changed files with 1 additions and 5 deletions

View File

@ -93,7 +93,7 @@ export const theme: Theme = themePlume({
repoId: 'R_kgDOG_ebNA',
category: 'docs-comment',
categoryId: 'DIC_kwDOG_ebNM4Cd0uF',
mapping: 'url',
mapping: 'pathname',
reactionsEnabled: true,
inputPosition: 'top',
darkTheme: 'dark_protanopia',

View File

@ -17,10 +17,6 @@ export default defineClientConfig({
// global component
app.component('Badge', Badge)
if (app._context.components.ExternalLinkIcon)
delete app._context.components.ExternalLinkIcon
app.component('ExternalLinkIcon', ExternalLinkIcon)
app.component('DocSearch', () => {
const SearchComponent
= app.component('Docsearch') || app.component('SearchBox')