flat: cityId备份 + 手机号提交
This commit is contained in:
18
untils/tools.js
Normal file
18
untils/tools.js
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user