datav.jiaminghi.com icon indicating copy to clipboard operation
datav.jiaminghi.com copied to clipboard

轮播表中点击事件

Open wshuigao opened this issue 3 years ago • 4 comments

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

wshuigao avatar Jun 08 '21 08:06 wshuigao

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

MrHuHello avatar Jun 08 '21 08:06 MrHuHello

打印 undefined 非法参数

------------------ 原始邮件 ------------------ 发件人: "DataV-Team/datav.jiaminghi.com" @.>; 发送时间: 2021年6月8日(星期二) 下午4:59 @.>; @.@.>; 主题: Re: [DataV-Team/datav.jiaminghi.com] 轮播表中点击事件 (#35)

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wshuigao avatar Jun 08 '21 09:06 wshuigao

不会吧不会吧

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

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

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

MrHuHello avatar Jun 08 '21 09:06 MrHuHello

我直接把你的复制过去 进行打印  还是 undefined  大哥有向日葵么 识别码:713989474    验证码:332211

------------------ 原始邮件 ------------------ 发件人: "DataV-Team/datav.jiaminghi.com" @.>; 发送时间: 2021年6月8日(星期二) 下午5:04 @.>; @.@.>; 主题: Re: [DataV-Team/datav.jiaminghi.com] 轮播表中点击事件 (#35)

不会吧不会吧

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

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

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wshuigao avatar Jun 08 '21 09:06 wshuigao