File tree Expand file tree Collapse file tree
tdesign-uniapp-chat/site/web Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 () {
Original file line number Diff line number Diff line change 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 () {
You can’t perform that action at this time.
0 commit comments