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

Bug: 控制台后端更新后前端出现不一致现象 #285

Closed
shigma opened this issue Jan 4, 2024 · 0 comments
Closed

Bug: 控制台后端更新后前端出现不一致现象 #285

shigma opened this issue Jan 4, 2024 · 0 comments
Labels
bug Something isn't working domain: console

Comments

@shigma
Copy link
Member

shigma commented Jan 4, 2024

有两种复现方式,本质是同一种问题。

复现方式 1

  1. 在生产模式启动控制台
  2. 使用插件市场更新 console 插件本身
  3. 此时控制台中部分元素有概率显示异常

复现方式 2

  1. 在开发模式启动控制台
  2. 停止运行 Koishi,并使用生产模式重新启动控制台
  3. 此时控制台无法加载任何插件

两种复现方式都可以通过刷新的方式解决,因此此问题的解决方案是「检测到后端变动时,刷新前端」。

@shigma shigma added bug Something isn't working domain: console labels Jan 4, 2024
@shigma shigma closed this as completed in b593572 Jan 4, 2024
CyanChanges pushed a commit to CyanForks/webui that referenced this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working domain: console
Projects
None yet
Development

No branches or pull requests

1 participant