@pisell/private-materials 3.0.128 → 3.0.129
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/forms/single/index.js +1 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
- package/lib/components/booking/forms/single/index.js +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
- package/package.json +3 -3
|
@@ -115,7 +115,7 @@ var Single = function Single(_ref) {
|
|
|
115
115
|
// 手机号
|
|
116
116
|
if (field.filed_type === "customer_phone") {
|
|
117
117
|
if (val) {
|
|
118
|
-
return "(+".concat(val.country_calling_code, ") ").concat(val.phone);
|
|
118
|
+
return "".concat(val.country_calling_code && "(+".concat(val.country_calling_code, ")"), " ").concat(val.phone || "");
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
if (field.filed_type === "body_hotspot_image") {
|
|
@@ -104,7 +104,7 @@ var Single = ({
|
|
|
104
104
|
}
|
|
105
105
|
if (field.filed_type === "customer_phone") {
|
|
106
106
|
if (val) {
|
|
107
|
-
return `(+${val.country_calling_code}) ${val.phone}`;
|
|
107
|
+
return `${val.country_calling_code && `(+${val.country_calling_code})`} ${val.phone || ""}`;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
if (field.filed_type === "body_hotspot_image") {
|
|
@@ -80,7 +80,7 @@ var useClientFn = (_params) => {
|
|
|
80
80
|
const data = await api({
|
|
81
81
|
...resetParams,
|
|
82
82
|
...state.isFranchisee ? { franchisee_customer_ids: customer_ids } : { customer_ids },
|
|
83
|
-
...!state.isFranchisee ? { _config: { abort: true } } : {}
|
|
83
|
+
...!state.isFranchisee && !returnResult ? { _config: { abort: true } } : {}
|
|
84
84
|
});
|
|
85
85
|
const list = ((data == null ? void 0 : data.list) || []).map((d) => {
|
|
86
86
|
var _a2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.129",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "1.0.42",
|
|
63
|
+
"@pisell/materials": "3.0.43",
|
|
63
64
|
"@pisell/icon": "0.0.11",
|
|
64
|
-
"@pisell/date-picker": "1.0.99"
|
|
65
|
-
"@pisell/materials": "3.0.43"
|
|
65
|
+
"@pisell/date-picker": "1.0.99"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^18.0.0",
|