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

左侧列表刷新,没有清空选中项,导致无法刷新 value 的 bug #33

Closed
ydq opened this issue Mar 2, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@ydq
Copy link

ydq commented Mar 2, 2022

先直接说复现过程:

  1. 准备数据,创建两个key
    > SET test:aaa aaa
    
    > SET test:bbb bbb
  2. 在 redis-pro 上搜索key test:aaa ,并选中 这个搜索到的唯一key,此时能获取到值是 "aaa"
  3. 在 redis-pro 上搜索key test:bbb,此时出现 bug,因为默认选中了第一项,猜测可能是没有触发redis-pro 内部的某些key 变更的事件,然后认为还是旧的 key,所以value 还是上一次选中的key所对应的value ”aaa“,而且就算点击 refresh 按钮,也无法获得当前真正选中的key所对应的值

此问题也出现在翻页的场景下,即当选中某一个key,翻页后,依旧会默认选中相同位置的key,点击这个key 无法刷新值

不确定我表述的是否明了,如果有需要可以留言~

@chengpan168
Copy link
Member

本地已经复现了, 周末看一下

@chengpan168 chengpan168 added the bug Something isn't working label Mar 3, 2022
@chengpan168 chengpan168 mentioned this issue Mar 27, 2022
@ydq ydq closed this as completed Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants