摘要: ``` const HttpHelper = cc.Class({ extends: cc.Component, /** * get请求 * @param {string} url * @param {function} callback */ get(url, callback) { var xhr = cc.loader.getXMLHttpRequest(); console.log("St 阅读全文
posted @ 2020-03-19 14:18 剑小破 阅读(2382) 评论(0) 推荐(0) 编辑