diff --git a/examples/sites/src/main.js b/examples/sites/src/main.js index 372ce10489..ad0b13a1b5 100644 --- a/examples/sites/src/main.js +++ b/examples/sites/src/main.js @@ -41,13 +41,15 @@ hljs.registerLanguage('javascript', javascript) hljs.registerLanguage('css', css) hljs.registerLanguage('html', html) -docsearch({ - appId: 'AGPA5UXHMH', - apiKey: '5fa09fc20270efa61d68e2c2eb0f56df', - indexName: 'opentiny', - container: '.search-box', - debug: false -}) +if (!location.href.includes('tiny-vue-plus')) { + docsearch({ + appId: 'AGPA5UXHMH', + apiKey: '5fa09fc20270efa61d68e2c2eb0f56df', + indexName: 'opentiny', + container: '.search-box', + debug: false + }) +} if (envTarget !== 'open') { // 支持本地开发和内网使用全局搜索 diff --git a/examples/sites/src/views/overview.vue b/examples/sites/src/views/overview.vue index 75e0886739..842fb8fb3a 100644 --- a/examples/sites/src/views/overview.vue +++ b/examples/sites/src/views/overview.vue @@ -6,7 +6,7 @@ ({{ getTotalComponentsNum() }}) -

+

{{ i18nByKey('overviewDesc') }}

@@ -64,7 +64,7 @@