@hw-component/form 0.0.9-beta-v2 → 0.0.9-beta-v3
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.
|
@@ -84,7 +84,6 @@ var useHForm = (function () {
|
|
|
84
84
|
return {};
|
|
85
85
|
}
|
|
86
86
|
var newValue = _objectSpread({}, value);
|
|
87
|
-
console.log(formatSourceData, "formatSourceData");
|
|
88
87
|
var keys = Object.keys(formatSourceData);
|
|
89
88
|
keys.forEach(function (key) {
|
|
90
89
|
var _formatSourceData$key;
|
|
@@ -96,7 +95,6 @@ var useHForm = (function () {
|
|
|
96
95
|
Reflect.deleteProperty(newValue, key);
|
|
97
96
|
newValue = _objectSpread(_objectSpread({}, newValue), resultValue);
|
|
98
97
|
});
|
|
99
|
-
console.log(newValue, "newVal");
|
|
100
98
|
return newValue;
|
|
101
99
|
},
|
|
102
100
|
dispatch: function dispatch(action) {
|
|
@@ -87,7 +87,6 @@ var useHForm = (function () {
|
|
|
87
87
|
return {};
|
|
88
88
|
}
|
|
89
89
|
var newValue = _objectSpread({}, value);
|
|
90
|
-
console.log(formatSourceData, "formatSourceData");
|
|
91
90
|
var keys = Object.keys(formatSourceData);
|
|
92
91
|
keys.forEach(function (key) {
|
|
93
92
|
var _formatSourceData$key;
|
|
@@ -99,7 +98,6 @@ var useHForm = (function () {
|
|
|
99
98
|
Reflect.deleteProperty(newValue, key);
|
|
100
99
|
newValue = _objectSpread(_objectSpread({}, newValue), resultValue);
|
|
101
100
|
});
|
|
102
|
-
console.log(newValue, "newVal");
|
|
103
101
|
return newValue;
|
|
104
102
|
},
|
|
105
103
|
dispatch: function dispatch(action) {
|
package/package.json
CHANGED
|
@@ -67,7 +67,6 @@ export default () => {
|
|
|
67
67
|
return {};
|
|
68
68
|
}
|
|
69
69
|
let newValue = { ...value };
|
|
70
|
-
console.log(formatSourceData,"formatSourceData")
|
|
71
70
|
const keys = Object.keys(formatSourceData);
|
|
72
71
|
keys.forEach((key) => {
|
|
73
72
|
const format = formatSourceData[key]?.[formatKey];
|
|
@@ -81,7 +80,6 @@ export default () => {
|
|
|
81
80
|
...resultValue,
|
|
82
81
|
};
|
|
83
82
|
});
|
|
84
|
-
console.log(newValue,"newVal")
|
|
85
83
|
return newValue;
|
|
86
84
|
}, //转化方法
|
|
87
85
|
dispatch(action, ...args) {
|