From 1ef4db7dc4bf192a0b1e24880384fc7d0a111641 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Tue, 11 Aug 2020 15:39:56 +0800 Subject: [PATCH] fixing bug 8.11 --- pageB/search/index.vue | 13 ------------- pages.json | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) 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,