摘要:
<script> let temp = document.createElement("script"); temp.type = "text/javascript"; const callback = function(res){ alert(res); } temp.src = "http:// 阅读全文
摘要:
function ajaxRequest(method, data, withCookie){ let xhr = new XMLHttpRequest(); if(withCookie true){ //允许发送Cookie xhr.withCredentials = true; } let re 阅读全文