Skip to content

前端界面点击卡死的问题 #10

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

Open
Ivens-Zhang opened this issue Nov 26, 2020 · 1 comment
Open

前端界面点击卡死的问题 #10

Ivens-Zhang opened this issue Nov 26, 2020 · 1 comment

Comments

@Ivens-Zhang
Copy link

情况:

  • 点击一个单位时有概率会出现下图卡死的情况

环境:

  • Windows 10
  • Chrome 版本 85.0.4183.121(正式版本) (64 位)

解决:

对前端代码——SmartKG/SmartKGUI/src/views/ 中两个 .vue 文件中的方法用 asyncawait 方式改写,后续拿到数据后重新渲染界面时注意使用 vm.$set() 方式重新赋值。

可以参考这里的文档:《检测变化的注意事项》

以后有机会我可以提一个 PR,我的邮箱:[email protected]

@juliali
Copy link
Contributor

juliali commented Feb 8, 2021

Thanks!

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