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
/** * @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:
关闭 tabA,需要手动卸载这个子应用
#1734 (comment)
Sorry, something went wrong.
No branches or pull requests
What happens?
打开tabA、打开tabB,关闭tabA,再打开tabA qiankun会挂载失败 single-spa minified message #31
这样会导致一个问题,就是我tabA unmount之后, globalAppInstanceMap[appName]++; 会从头开始计算,但是已经unmount了
最小可复现仓库
复现步骤,错误日志以及相关配置
打开tabA、打开tabB,关闭tabA,再打开tabA qiankun会挂载失败 single-spa minified message #31
相关环境信息
The text was updated successfully, but these errors were encountered: