flat: cityId备份 + 手机号提交

This commit is contained in:
Apcallover
2024-04-22 22:31:50 +08:00
parent ab94467da4
commit b79f0c7fc0
10 changed files with 47 additions and 25 deletions

18
untils/tools.js Normal file
View File

@@ -0,0 +1,18 @@
function onDialingPhoneNumber(phone) {
return new Promise((resolve, reject) => {
uni.makePhoneCall({
phoneNumber: phone, // 电话号码
success: (res) => {
resolve(res)
},
fail: (err) => {
reject(err)
} // 失败
});
})
}
export default {
onDialingPhoneNumber
}