mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 15:09:34 +00:00
OPEN_WRITE导流插件
This commit is contained in:
@@ -146,7 +146,7 @@ export function getLastPartOfUrl(url) {
|
||||
* @param type js 或 css
|
||||
* @returns {Promise<unknown>}
|
||||
*/
|
||||
export function loadExternalResource(url, type) {
|
||||
export function loadExternalResource(url, type = 'js') {
|
||||
// 检查是否已存在
|
||||
const elements =
|
||||
type === 'js'
|
||||
|
||||
Reference in New Issue
Block a user