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

轮播表中点击事件 #35

Open
wshuigao opened this issue Jun 8, 2021 · 4 comments
Open

轮播表中点击事件 #35

wshuigao opened this issue Jun 8, 2021 · 4 comments

Comments

@wshuigao
Copy link

wshuigao commented Jun 8, 2021

轮播表中是只能展示文本数据不能展示图片么?有什么好的解决方案么
我想的解决方案是:看文档中有click操作,想着是点击该行拿到数据,然后再写js方法加载图片进行展示
但是我这里只能拿到所有数据,无法拿到该行的数据,请问这个应该如何解决?或者是有没有更好的解决方案可以让我展示图片?
image
image
image
image

@MrHuHello
Copy link

函数改:
yourHandler(dataInfo){
console.log(dataInfo);
}
打印看下这是啥

@wshuigao
Copy link
Author

wshuigao commented Jun 8, 2021 via email

@MrHuHello
Copy link

不会吧不会吧

<dv-scroll-board :config="configMes" ref="scrollBoard" @click="mesLunbo"/>

mesLunbo(dataInfo) {
console.log(dataInfo);
},

这是之前在csdn回答别人同样问题的帖子0.0

@wshuigao
Copy link
Author

wshuigao commented Jun 8, 2021 via email

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