Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

使用连体字母会导致 CPU 占用飙升 #5

Closed
vvenv opened this issue Jun 19, 2016 · 1 comment
Closed

使用连体字母会导致 CPU 占用飙升 #5

vvenv opened this issue Jun 19, 2016 · 1 comment

Comments

@vvenv
Copy link
Owner

vvenv commented Jun 19, 2016

与 css transition 结合,会导致假死

研究发现将以下代码

<router-view class="router-view"
      transition="router-view-transition"
      transition-mode="out-in"
      keep-alive></router-view>

中的 transition-mode 去掉,一切正常

@yyx990803

相关问题:
google/material-design-icons#288

@vvenv vvenv changed the title 使用连体字母会导致 CPU 占用 100% 使用连体字母会导致 CPU 占用飙升 Jun 20, 2016
@vvenv
Copy link
Owner Author

vvenv commented Jun 21, 2016

应该是因为 off-dom 导致的死循环
vuejs/vue#3104
更新到 1.0.26 可解决

@vvenv vvenv closed this as completed in 44439b4 Jun 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant