Skip to content
New issue

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

一个Portal管理多环境时,环境切换,配置显示错乱问题 #3196

Closed
hujun427 opened this issue Jul 21, 2020 · 5 comments
Closed
Labels

Comments

@hujun427
Copy link

一个Portal管理多环境的时候,当点击DEV环境后(拉取配置耗时长),接着点击PRO环境(拉取配置耗时短),最终显示到页面的配置是DEV环境配置(环境列表选中的PRO),如果再进行配置文本修改的话会将DEV配置提交到PRO环境

@nobodyiam
Copy link
Member

确实有出现这个问题的可能性,想到的一个可能解决方法是在加载到配置后,判断一下当前 env 和加载时的 env 是否一致,可以尝试一下

https://github.com/ctripcorp/apollo/blob/0341e5c80c714fbee8a15031303023bbe3e63dc6/apollo-portal/src/main/resources/static/scripts/controller/config/ConfigNamespaceController.js#L104-L116

@stale
Copy link

stale bot commented Sep 23, 2020

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 14 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 23, 2020
@stale
Copy link

stale bot commented Oct 7, 2020

This issue has been automatically closed because it has not had activity in the last 14 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

@stale stale bot closed this as completed Oct 7, 2020
@gp0014
Copy link

gp0014 commented Jul 23, 2021

这个bug是否修复了。

@nobodyiam
Copy link
Member

@gp0014 目前还没有人修复这个问题,你有兴趣提交一个 patch 吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants