异步回调
摘要:
function loadAsset(url, type, callback) { let xhr = new XMLHttpRequest(); xhr.open('GET', url); xhr.responseType = type; xhr.onload = function() { cal 阅读全文
posted @ 2020-10-22 17:35 佰草伐 阅读(115) 评论(0) 推荐(0)
2020年10月22日 #
posted @ 2020-10-22 17:35 佰草伐 阅读(115) 评论(0) 推荐(0)
posted @ 2020-10-22 17:05 佰草伐 阅读(164) 评论(0) 推荐(0)
posted @ 2020-10-22 17:01 佰草伐 阅读(163) 评论(0) 推荐(0)