@bchr/bchr-front-lib 0.3.118 → 0.3.119
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.
|
@@ -131,6 +131,14 @@ var HttpService = /*#__PURE__*/function () {
|
|
|
131
131
|
rpcMethodName = "";
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
if (jsonObject) {
|
|
135
|
+
ajaxOptions.data = jsonObject;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (ajaxOptions.rpcMethodName) {
|
|
139
|
+
delete ajaxOptions.rpcMethodName;
|
|
140
|
+
}
|
|
141
|
+
|
|
134
142
|
ajaxOptions.type = "post";
|
|
135
143
|
ajaxOptions.dataType = "json";
|
|
136
144
|
|
package/package.json
CHANGED
|
@@ -114,6 +114,14 @@ class HttpService {
|
|
|
114
114
|
rpcMethodName = "";
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
if (jsonObject) {
|
|
118
|
+
ajaxOptions.data = jsonObject;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if (ajaxOptions.rpcMethodName) {
|
|
122
|
+
delete ajaxOptions.rpcMethodName;
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
ajaxOptions.type = "post";
|
|
118
126
|
ajaxOptions.dataType = "json";
|
|
119
127
|
|