异步回调
摘要:
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 佰草伐 阅读(111) 评论(0) 推荐(0) 编辑
2020年10月22日 #
posted @ 2020-10-22 17:35 佰草伐 阅读(111) 评论(0) 推荐(0) 编辑
posted @ 2020-10-22 17:05 佰草伐 阅读(141) 评论(0) 推荐(0) 编辑
posted @ 2020-10-22 17:01 佰草伐 阅读(157) 评论(0) 推荐(0) 编辑