使用sqlite替换nedb

This commit is contained in:
whyour
2022-01-06 22:51:12 +08:00
parent 8c4db8dd40
commit f05549b06c
38 changed files with 1040 additions and 856 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const AppModal = ({
const method = app ? 'put' : 'post';
const payload = { ...values };
if (app) {
payload._id = app._id;
payload.id = app.id;
}
const { code, data } = await request[method](`${config.apiPrefix}apps`, {
data: payload,