Skip to content

Commit

Permalink
fix: 修复子应用html加载失败后无法重试 (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiludege authored Dec 30, 2022
1 parent 027fbdb commit 86d93ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/wujie-core/src/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 86d93ba

Please sign in to comment.