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 Report] table component expands row function to report props error #15947

Closed
Pentium286 opened this issue Jun 6, 2019 · 2 comments
Closed

Comments

@Pentium286
Copy link

Element UI version

2.6.3

OS/Browsers version

macOS 10.14.5/chrome 74.0.3729.169

Vue version

2.5.13

Reproduction Link

https://codepen.io/pen/?&editable=true

Steps to reproduce

就是把官方的例子复制到项目里,就报错了

[Vue warn]: Property or method "props" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

What is Expected?

可以正常显示

What is actually happening?

报错,无法显示table包括展开项

@element-bot element-bot changed the title [Bug Report] table组件展开行功能报props错误 [Bug Report] table component expands row function to report props error Jun 6, 2019
@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.6.3

OS/Browsers version

MacOS 10.14.5/chrome 74.0.3729.169

Vue version

2.5.13

Reproduction Link

Https://codepen.io/pen/?&editable=true

Steps to reproduce

If you copy the official example into the project, you will make a mistake.

` '.
[Vue warn]: Property or method "props" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

` '.

What is Expected?

It can be displayed normally.

What is actually happening?

Error, unable to display table including expansion items

@ziyoung
Copy link
Contributor

ziyoung commented Jul 5, 2019

Issues without a valid reproduction link will be closed directly.

@ziyoung ziyoung closed this as completed Jul 5, 2019
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

3 participants