在页面handler里添加引用
/**
* 电话拨打
*/
export default function({event, data}) {
wx.makePhoneCall({
phoneNumber:$page.dataset.state.shoujihao //变量
})
}
在页面handler里添加引用
/**
* 电话拨打
*/
export default function({event, data}) {
wx.makePhoneCall({
phoneNumber:$page.dataset.state.shoujihao //变量
})
}