xxx.replace(/(.{5}).*(.{5})/, '$1******$2') // 中间省略号隐藏,显示前5个和后5个 Read More
1 function gainSearch (payload) { //payload 为查询关键字 2 const list = window.gainList // window.gainList 为一个对象数组 object[] 3 let arr = [] 4 list.filter((index) => { ... Read More