@innoways/hooks 6.2.7 → 6.2.8
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/CHANGELOG.md +8 -0
- package/dist/index.js +0 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,10 +126,6 @@ var validate = function validate(_ref) {
|
|
|
126
126
|
} // 编译ajv
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
if (schema && schema.themeColor) {
|
|
130
|
-
delete schema.themeColor;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
129
|
var validateFuc = ajv.compile(schema); // 校验是否通过
|
|
134
130
|
|
|
135
131
|
var pass = false; // 因为ajv会改动formData数据。而formData是不可变的,我们通过immer生成新的数据
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@innoways/hooks",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.8",
|
|
4
4
|
"description": "drip-form通用hooks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hooks",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.10.2",
|
|
34
|
-
"@innoways/utils": "^6.2.
|
|
34
|
+
"@innoways/utils": "^6.2.8",
|
|
35
35
|
"ahooks": "^2.10.12",
|
|
36
36
|
"ajv": "^8.6.2",
|
|
37
37
|
"immer": "^9.0.5",
|