报错内容:TypeError: Attempted to assign to readonly property.
报错代码:document.getElementById(“mockRecordList”).style = “display:none;”
报错原因:iOS webkit内核的一个bug(https://bugs.webkit.org/show_bug.cgi?id=49739)
修改方案:document.getElementById(“mockRecordList”).style.cssText = “……”
该bug影响范围为:iOS 10及以下版本操作系统,iOS 11及以上版本正常。