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

控制台模块刷新浏览器会丢失请求字段 #20

Open
SangLiang opened this issue Feb 16, 2023 · 2 comments
Open

控制台模块刷新浏览器会丢失请求字段 #20

SangLiang opened this issue Feb 16, 2023 · 2 comments

Comments

@SangLiang
Copy link

SangLiang commented Feb 16, 2023

浏览器:chrome
平台: windows10
kubecube版本: 1.4
复现步骤:

  • 1.右上角进入控制台,左边导航进入【工作负载】或者【服务与发现】
  • 2.刷新浏览器
  • 3.原来有数据的表单全部丢失数据,控制台报错如下图
  • 4.重新返回运维管理再进入控制台,一切回归正常

简单猜测下, cluster数据的字段有可能是存在了store里,但没有做持久化,刷新后数据丢失 @sjm1202

image

@sjm1202
Copy link
Collaborator

sjm1202 commented Apr 10, 2023

@SangLiang 感谢反馈,新版本将会修复

@SangLiang
Copy link
Author

@SangLiang 感谢反馈,新版本将会修复

namespace: get('scope/namespace@value'),
cluster: get('scope/cluster@value'),

这两个的值为null导致的,代码里面只有在切换【控制台】和切换【租户】【项目】的时候才会对这个store赋值,刷新的时候并没有进行赋值操作。

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

No branches or pull requests

2 participants