fixing bug 8.11

This commit is contained in:
ghusermoon 2020-08-11 15:39:56 +08:00
parent 37d8ab7a2b
commit 1ef4db7dc4
2 changed files with 1 additions and 14 deletions

View File

@ -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 => {

View File

@ -178,7 +178,7 @@
"searchInput": {
"align": "left",
"borderRadius": "15px",
"placeholder": "",
"placeholder": "请输入搜索内容",
"backgroundColor": "rgb(236,236,236)",
"placeholderColor": "#999999",
"disabled": false,