- map
let html = arr.map(item=>``).join(''); - filter
arr = arr.filter(item=>item.id>10); - <img id="@i.FileGUID" src="@i.FilePhysicalAddress" alt="" onclick="WebsiteLinks($(this).attr('ID'))">
- layer.alert 成功后回调
layer.alert("操作成功!", { icon: 6, closeBtn: 0 }, function(index){ location.reload(); });