ajax实现返回数据是html类型的跨域问题

$.ajax({
            url : _url,
            type : 'GET',
            dataType : 'html',
            xhrFields: {
                withCredentials: true
            },
            success : function(result){
                $(dom).html(result);
            }
        });

原文地址:https://www.cnblogs.com/dearxinli/p/5110547.html