af-mobile-client-vue3 1.3.79 → 1.3.81
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
|
@@ -1346,7 +1346,7 @@ function findOptionInTree(options, value) {
|
|
|
1346
1346
|
@blur="() => formTypeCheck(attr, modelData as string)"
|
|
1347
1347
|
>
|
|
1348
1348
|
<VanButton
|
|
1349
|
-
v-if="!
|
|
1349
|
+
v-if="!props.formReadonly && attr.inputOnAfterName && attr.inputOnAfterFunc && !attr.inputOnAfterName.includes('|')"
|
|
1350
1350
|
class="action-btn"
|
|
1351
1351
|
round
|
|
1352
1352
|
type="primary"
|
package/src/utils/mobileUtil.ts
CHANGED
|
@@ -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 },
|