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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
复现: 打开tabA、打开tabB,关闭tabA,再打开tabA qiankun会挂载失败 single-spa minified message #31
对比了一下2.4.4版本
/** * @description: 2.4.4 * @return {*} */ const appInstanceId = `${appName}_${+new Date()}_${Math.floor(Math.random() * 1000)}`;
/** * @description: >2.4.4 * @return {*} */ export const genAppInstanceIdByName = (appName: string): string => { const globalAppInstanceMap = getGlobalAppInstanceMap(); if (!(appName in globalAppInstanceMap)) { nativeGlobal.__app_instance_name_map__[appName] = 0; return appName; } globalAppInstanceMap[appName]++; return `${appName}_${globalAppInstanceMap[appName]}`; }; const appInstanceId = genAppInstanceIdByName(appName);
这样会导致一个问题,就是我tabA unmount之后, globalAppInstanceMap[appName]++; 会从头开始计算,但是已经unmount了
The text was updated successfully, but these errors were encountered:
由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~
Sorry, something went wrong.
No branches or pull requests
复现:
打开tabA、打开tabB,关闭tabA,再打开tabA qiankun会挂载失败 single-spa minified message #31
对比了一下2.4.4版本
这样会导致一个问题,就是我tabA unmount之后, globalAppInstanceMap[appName]++; 会从头开始计算,但是已经unmount了
The text was updated successfully, but these errors were encountered: