code optimization

This commit is contained in:
tangly1024.com
2023-02-10 12:19:19 +08:00
parent 89a4f36b9c
commit a32f6ec56f
3 changed files with 35 additions and 22 deletions

View File

@@ -7,7 +7,6 @@
* @returns {Promise<unknown>}
*/
export function loadExternalResource(url, type) {
console.log('加载', url, type)
return new Promise((resolve, reject) => {
let tag