1. map
    let html = arr.map(item=>``).join('');
  2. filter
    arr = arr.filter(item=>item.id>10);
  3. <img id="@i.FileGUID" src="@i.FilePhysicalAddress" alt="" onclick="WebsiteLinks($(this).attr('ID'))">
  4. layer.alert 成功后回调
    layer.alert("操作成功!", { icon: 6, closeBtn: 0 }, function(index){
                                location.reload();
                            });
    View Code
posted on 2021-09-05 16:31  每天加1  阅读(13)  评论(0编辑  收藏  举报