mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-23 15:09:46 +00:00
Ackee 调整
This commit is contained in:
@@ -46,11 +46,11 @@ export function loadExternalResource(url, type) {
|
||||
}
|
||||
if (tag) {
|
||||
tag.onload = () => {
|
||||
console.log(url, '加载成功')
|
||||
console.log('Load Success', url)
|
||||
resolve(url)
|
||||
}
|
||||
tag.onerror = () => {
|
||||
console.log(url, '加载失败')
|
||||
console.log('Load Error', url)
|
||||
reject(url)
|
||||
}
|
||||
document.head.appendChild(tag)
|
||||
|
||||
Reference in New Issue
Block a user