problem description
after the phone number is updated in the background, the phone number of the foreground can be updated in real time, that is, app.globalData.customerPhone can update it in real time
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
if (app.globalData.isAuthorize) {
if (e.currentTarget.dataset.type == 13) {
wx.makePhoneCall({
phoneNumber: app.globalData.customerPhone, //
})
}