IE的兼容问题,怎么解决此类问题
尝试过各种方法没有解决,其他浏览器都可以正常运行
inputRecommendation.addEventListener('click',function(shwHir){
SearchInput.focus();
shwHir.cancelBubble = true;
let locaShow = JSON.parse(localStorage.getItem('SearchInputValue')) || [];
if(locaShow.length > ''){
sh_for_rmd_rods.style.display = 'block';
}else{
sh_for_rmd_rods.style.display = '';
};
let Showhtml = '';
for(let i = 0; i < locaShow.length; i++){
(此段报无效符号) Showhtml += `<li class='SearchHiy_font'data-key='SearchInputValue' data-index=${i}><span class='Search_font'>${locaShow[i]}</span><span class='SearchiconDelBin'id='delhiy' data-index=${i} data-value=${locaShow[i]}>删除</span></li>`;
ShowHistory.innerHTML = Showhtml;
};
if(selectSearch_menu.style.display == 'block'){
selectSearch_menu.style.display = '';
}
});
```javascript
tation_imgBox.style.left = '-564px';
tation_imgBox.appendChild(tation_imgBox.children[0].cloneNode(true));//克隆
(不兼容Before) tation_imgBox.children[0].before(tation_imgBox.children[4].cloneNode(true));//克隆指定元素放到指定的元素的前面
```