摘要:
//动态加载 js function loadScript(url,callback) { const script = document.createElement('script'); script.type = 'text/javascript'; script.onload = functi 阅读全文
摘要:
记录一下以防忘记 String.raw`https://xcx.langkings.com/uploadimg/100001\202105\25\202105251907131715.mp3`.replace(/\\/g, '/') 返回 https://xcx.langkings.com/uplo 阅读全文
摘要:
1.图片地址转Base64 有回调 getBase64(url, callback) { let Img = new Image(), dataURL = ''; let imgExt = this.extname(url); Img.src = url +"?v=" + Math.random() 阅读全文