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

不被keepAlive include 包含的组件。在其他组件无name字段的时候 打包后,自动变成缓存组件。 #9705

Closed
672064406zerui opened this Issue Mar 15, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@672064406zerui
Copy link

672064406zerui commented Mar 15, 2019

Version

2.5.2

Reproduction link

Steps to reproduce

keep-alive :include='keepAliveComponents'
=》keepAliveComponents=['a','b']
c组件 name=""
本地的时候一切正常,打包后。c组件变成缓存组件,并触发activaed生命周期

What is expected?

本地和打包后 状态一致

What is actually happening?

本地和打包后 状态分歧


希望vue 可以越来越好

@Justineo

This comment has been minimized.

Copy link
Member

Justineo commented Mar 15, 2019

请提供一个有效的重现环境,谢谢。可以参考 issue helper 中的说明。

@Justineo Justineo closed this Mar 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.