Skip to content

Commit 754d999

Browse files
authored
fix(site): fixed incorrect GitHub repo link (#4237)
1 parent 8632799 commit 754d999

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

  • packages

packages/tdesign-uniapp-chat/site/web/app.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!-- eslint-disable vue/no-deprecated-slot-attribute -->
22
<template>
33
<td-doc-layout>
4-
<td-header slot="header" platform="mobile" framework="uniapp">
5-
<td-doc-search slot="search" ref="tdDocSearch" />
4+
<td-header framework="miniprogram">
5+
<!-- <td-doc-search slot="search" ref="tdDocSearch" /> -->
66
</td-header>
77
<td-doc-aside ref="tdDocAside" title="Uni App Chat">
88
<!-- <td-select ref="tdSelect" :value="version" slot="extra"></td-select> -->
@@ -55,7 +55,7 @@ export default defineComponent({
5555
5656
mounted() {
5757
this.docType = this.$route.meta.docType;
58-
this.$refs.tdDocSearch.docsearchInfo = { indexName: 'tdesign_doc_vue_mobile' };
58+
// this.$refs.tdDocSearch.docsearchInfo = { indexName: 'tdesign_doc_vue_mobile' };
5959
this.$refs.tdDocAside.routerList = docsMap[this.$route?.meta?.lang || 'zh'];
6060
this.$refs.tdDocAside.onchange = ({ detail }) => {
6161
if (this.$route.path === detail) return;
@@ -90,7 +90,7 @@ export default defineComponent({
9090
this.version = options[0].value;
9191
}
9292
93-
this.$refs.tdSelect.options = options;
93+
// this.$refs.tdSelect.options = options;
9494
});
9595
},
9696
initThemeGenerator() {

packages/tdesign-uniapp/site/web/app.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!-- eslint-disable vue/no-deprecated-slot-attribute -->
22
<template>
33
<td-doc-layout>
4-
<td-header slot="header" platform="mobile" framework="uniapp">
5-
<td-doc-search slot="search" ref="tdDocSearch" />
4+
<td-header framework="miniprogram">
5+
<!-- <td-doc-search slot="search" ref="tdDocSearch" /> -->
66
</td-header>
77
<td-doc-aside ref="tdDocAside" title="Uni App">
88
<!-- <td-select ref="tdSelect" :value="version" slot="extra"></td-select> -->
@@ -55,7 +55,7 @@ export default defineComponent({
5555
5656
mounted() {
5757
this.docType = this.$route.meta.docType;
58-
this.$refs.tdDocSearch.docsearchInfo = { indexName: 'tdesign_doc_vue_mobile' };
58+
// this.$refs.tdDocSearch.docsearchInfo = { indexName: 'tdesign_doc_vue_mobile' };
5959
this.$refs.tdDocAside.routerList = docsMap[this.$route?.meta?.lang || 'zh'];
6060
this.$refs.tdDocAside.onchange = ({ detail }) => {
6161
if (this.$route.path === detail) return;
@@ -90,7 +90,7 @@ export default defineComponent({
9090
this.version = options[0].value;
9191
}
9292
93-
this.$refs.tdSelect.options = options;
93+
// this.$refs.tdSelect.options = options;
9494
});
9595
},
9696
initThemeGenerator() {

0 commit comments

Comments
 (0)