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

使用单文件递归渲染menu,只能渲染2级数据,一旦超过2级数据就会报TypeError: Cannot read property 'propsData' of undefined #1452

Closed
1 task
qifengwangye opened this issue Nov 21, 2019 · 2 comments
Labels

Comments

@qifengwangye
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.4

Environment

chrome 77, vue 2.6.10

Reproduction link

https://segmentfault.com/q/1010000021072238

Steps to reproduce

https://segmentfault.com/q/1010000021072238

What is expected?

能正常渲染

What is actually happening?

使用单文件递归渲染menu,只能渲染2级数据,一旦超过2级数据就会报TypeError: Cannot read property 'propsData' of undefined

@sendya
Copy link
Member

sendya commented Nov 21, 2019

请使用第一种 demo 方式,并且 第一种方式也标注了 推荐

@sendya sendya closed this as completed Dec 2, 2019
@github-actions
Copy link

github-actions bot commented Dec 2, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants