wxml
bindtap="delete"
js
delete: function (e) {
var that = this;
wx.showModal({
title: '提示',
content: '确认要删除该支出类型?',
success: function (res) {
if (res.confirm) {
console.log('用户点击确定')
var FriendId = e.currentTarget.dataset.friendid
} else if (res.cancel) {
console.log('用户点击取消')
}
}
})
},