@zscreate/form-component 1.1.166 → 1.1.168
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.
|
@@ -122554,7 +122554,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;
|
|
|
122554
122554
|
/***/ ((module) => {
|
|
122555
122555
|
|
|
122556
122556
|
"use strict";
|
|
122557
|
-
module.exports = {"i8":"1.1.
|
|
122557
|
+
module.exports = {"i8":"1.1.168"};
|
|
122558
122558
|
|
|
122559
122559
|
/***/ })
|
|
122560
122560
|
|
|
@@ -122703,7 +122703,7 @@ function encry_http_v1(config) {
|
|
|
122703
122703
|
if (!config.params || Object.keys(config.params).length === 0) config.params = {
|
|
122704
122704
|
_t
|
|
122705
122705
|
};
|
|
122706
|
-
if (!config.data || Object.keys(config.data).length === 0) config.data = {
|
|
122706
|
+
if ((!config.data || Object.keys(config.data).length === 0) && !config.data instanceof FormData) config.data = {
|
|
122707
122707
|
_t
|
|
122708
122708
|
};
|
|
122709
122709
|
if (config.method === 'get') {
|
|
@@ -122715,7 +122715,7 @@ function encry_http_v1(config) {
|
|
|
122715
122715
|
requestParams: (0,aesEncrypt/* encryption_v1 */.iv)(jsonStr)
|
|
122716
122716
|
};
|
|
122717
122717
|
}
|
|
122718
|
-
if (config.method === 'post') {
|
|
122718
|
+
if (config.method === 'post' && !config.data instanceof FormData) {
|
|
122719
122719
|
const jsonStr = JSON.stringify({
|
|
122720
122720
|
...config.data,
|
|
122721
122721
|
_t
|
|
@@ -128028,6 +128028,7 @@ Print.prototype = {
|
|
|
128028
128028
|
|
|
128029
128029
|
|
|
128030
128030
|
const version = (__webpack_require__(4147)/* .version */ .i8);
|
|
128031
|
+
window.formVersion = version;
|
|
128031
128032
|
console.log("version:", version);
|
|
128032
128033
|
|
|
128033
128034
|
|