mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 23:16:48 +00:00
日志
This commit is contained in:
@@ -169,11 +169,11 @@ export function loadExternalResource(url, type = 'js') {
|
||||
}
|
||||
if (tag) {
|
||||
tag.onload = () => {
|
||||
console.log('Load Success', url)
|
||||
// console.log('Load Success', url)
|
||||
resolve(url)
|
||||
}
|
||||
tag.onerror = () => {
|
||||
console.log('Load Error', url)
|
||||
console.warn('Load Error', url)
|
||||
reject(url)
|
||||
}
|
||||
document.head.appendChild(tag)
|
||||
|
||||
Reference in New Issue
Block a user