Skip to content

Commit 15b7893

Browse files
committed
fix: get time fail when click child element
1 parent b3a6991 commit 15b7893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miniprogram/pages/detail/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Page({
3434
},
3535

3636
handleStart(e) {
37-
const { time } = e.target.dataset;
37+
const { time } = e.currentTarget.dataset;
3838

3939
wx.vibrateShort()
4040
this.setData({

0 commit comments

Comments
 (0)