We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
我们希望通过loadMicroApp加载资源A时, 假如资源加载失败, 比如: cdn问题或者cos问题, 会回退到另一个备份地址,然后重新加载插件. 阅读源码发现在通过loadMicroApp加载时, 会把name+containerXPath作为key缓存下来. https://github.com/umijs/qiankun/blob/master/src/apis.ts#L148. 所以如果我只改entry, 是不会重新加载, 还必须把name也改了才行.
loadMicroApp
name
containerXPath
entry
所以这里是不是要做下catch处理? 如果异常了,则把缓存也销毁了 或者直接用name +entry 作为缓存的key
catch
key
The text was updated successfully, but these errors were encountered:
@kuitos 求修复v2版本
Sorry, something went wrong.
No branches or pull requests
What happens?
我们希望通过
loadMicroApp
加载资源A时, 假如资源加载失败, 比如: cdn问题或者cos问题, 会回退到另一个备份地址,然后重新加载插件. 阅读源码发现在通过loadMicroApp
加载时, 会把name
+containerXPath
作为key缓存下来. https://github.com/umijs/qiankun/blob/master/src/apis.ts#L148. 所以如果我只改entry
, 是不会重新加载, 还必须把name
也改了才行.所以这里是不是要做下
catch
处理? 如果异常了,则把缓存也销毁了或者直接用
name
+entry
作为缓存的key
复现步骤,错误日志以及相关配置
相关环境信息
The text was updated successfully, but these errors were encountered: