af-mobile-client-vue3 1.3.79 → 1.3.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.3.79",
4
+ "version": "1.3.80",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -42,6 +42,15 @@ export class mobileUtil {
42
42
  export class mobileTools {
43
43
  // 打电话
44
44
  static callPhone(phone: any) {
45
+ if (!phone || !phone.user_phone) {
46
+ showConfirmDialog({
47
+ title: '电话提示',
48
+ message: '未检测到手机号,无法进行拨打电话',
49
+ confirmButtonText: '确定',
50
+ showCancelButton: false,
51
+ })
52
+ return
53
+ }
45
54
  mobileUtil.execute({
46
55
  funcName: 'makePhoneCall',
47
56
  param: { phoneNumber: phone.user_phone },