@fe-free/core 1.4.4 → 1.4.5
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 +7 -0
- package/package.json +2 -2
- package/src/crud/demo/data.tsx +3 -3
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fe-free/core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"author": "",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-syntax-highlighter": "^15.5.0",
|
|
36
36
|
"vanilla-jsoneditor": "^0.23.1",
|
|
37
37
|
"zustand": "^4.5.4",
|
|
38
|
-
"@fe-free/tool": "1.4.
|
|
38
|
+
"@fe-free/tool": "1.4.5"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@ant-design/pro-components": "^2.8.7",
|
package/src/crud/demo/data.tsx
CHANGED
|
@@ -86,7 +86,7 @@ async function fakeDeleteByRecord(record) {
|
|
|
86
86
|
|
|
87
87
|
fakeData = fakeData.filter((item) => item.id !== record.id);
|
|
88
88
|
|
|
89
|
-
return Promise.resolve(
|
|
89
|
+
return Promise.resolve();
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
async function fakeGetByRecord(record) {
|
|
@@ -107,7 +107,7 @@ async function fakeCreate(params) {
|
|
|
107
107
|
...params,
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
return Promise.resolve(
|
|
110
|
+
return Promise.resolve();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
async function fakeUpdateById(params) {
|
|
@@ -123,7 +123,7 @@ async function fakeUpdateById(params) {
|
|
|
123
123
|
return item;
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
return Promise.resolve(
|
|
126
|
+
return Promise.resolve();
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
function fakeRequestCity(): Promise<string[]> {
|