标签:class OLE code targe span fun console opera 传参
<!-- 传参 -->
<view bindtap=‘operation‘ data-item=‘{{item}}‘>
// 获取
operation: function (e) { var item = e.currentTarget.dataset.item; console.log(item); },
标签:class OLE code targe span fun console opera 传参
原文地址:https://www.cnblogs.com/knightdreams6/p/11132037.html