數(shù)據(jù)驅動、堅持為客戶提供有價值的服務和內容
OnSearch() { let searchRecord = o.data.searchRecord //獲取搜索存儲的數(shù)據(jù) let content = this.data.content; //input的value值 if (content != '') { if (searchRecord.length <= 5) { // 判斷數(shù)組中是否已存在 var newArr = searchRecord.findIndex (ite