diff --git a/pageB/search/index.vue b/pageB/search/index.vue index aed9950..3cf49c2 100644 --- a/pageB/search/index.vue +++ b/pageB/search/index.vue @@ -49,19 +49,6 @@ export default { } }) // #endif - // #ifdef H5 - let inputSearch=document.querySelector('.uni-input-input[type=search]'); - const evt = new InputEvent('input', { - inputType: 'insertText', - data: keyword, - dataTransfer: null, - isComposing: false - }); - if(inputSearch){ - inputSearch.value = keyword; - inputSearch.dispatchEvent(evt); - } - // #endif }, getWordList() { this.$u.api.searchwordlist({type:this.type}).then(res => { diff --git a/pages.json b/pages.json index 9410c6a..e8b773e 100644 --- a/pages.json +++ b/pages.json @@ -178,7 +178,7 @@ "searchInput": { "align": "left", "borderRadius": "15px", - "placeholder": "", + "placeholder": "请输入搜索内容", "backgroundColor": "rgb(236,236,236)", "placeholderColor": "#999999", "disabled": false,