diff --git a/packages/wujie-core/src/entry.ts b/packages/wujie-core/src/entry.ts index 8c5f7e6b0..187e034c0 100644 --- a/packages/wujie-core/src/entry.ts +++ b/packages/wujie-core/src/entry.ts @@ -212,6 +212,7 @@ export default function importHTML(params: { : fetch(url).then( (response) => response.text(), (e) => { + embedHTMLCache[url] = null; loadError?.(url, e); return Promise.reject(e); }