fixing bug 8.11
This commit is contained in:
parent
37d8ab7a2b
commit
1ef4db7dc4
@ -49,19 +49,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
// #endif
|
// #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() {
|
getWordList() {
|
||||||
this.$u.api.searchwordlist({type:this.type}).then(res => {
|
this.$u.api.searchwordlist({type:this.type}).then(res => {
|
||||||
|
@ -178,7 +178,7 @@
|
|||||||
"searchInput": {
|
"searchInput": {
|
||||||
"align": "left",
|
"align": "left",
|
||||||
"borderRadius": "15px",
|
"borderRadius": "15px",
|
||||||
"placeholder": "",
|
"placeholder": "请输入搜索内容",
|
||||||
"backgroundColor": "rgb(236,236,236)",
|
"backgroundColor": "rgb(236,236,236)",
|
||||||
"placeholderColor": "#999999",
|
"placeholderColor": "#999999",
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user