fixing bug 8.11
This commit is contained in:
		
							parent
							
								
									37d8ab7a2b
								
							
						
					
					
						commit
						1ef4db7dc4
					
				@ -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 => {
 | 
			
		||||
 | 
			
		||||
@ -178,7 +178,7 @@
 | 
			
		||||
								"searchInput": {
 | 
			
		||||
									"align": "left",
 | 
			
		||||
									"borderRadius": "15px",
 | 
			
		||||
									"placeholder": "",
 | 
			
		||||
									"placeholder": "请输入搜索内容",
 | 
			
		||||
									"backgroundColor": "rgb(236,236,236)",
 | 
			
		||||
									"placeholderColor": "#999999",
 | 
			
		||||
									"disabled": false,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user