🔱: [client] sync upgrade with 4 commits [trident-sync]

build: publish success
chore:
chore:
pull/14/head
GitHub Actions Bot 2023-08-05 19:24:03 +00:00
parent d5eb4a1900
commit b1ac396bf1
3 changed files with 22 additions and 7 deletions

View File

@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.15.1](https://github.com/fast-crud/fast-crud/compare/v1.15.0...v1.15.1) (2023-08-05)
**Note:** Version bump only for package @fast-crud/fs-admin-antdv
# [1.15.0](https://github.com/fast-crud/fast-crud/compare/v1.14.7...v1.15.0) (2023-08-05)
### Features
* antdv4 支持 ([1935614](https://github.com/fast-crud/fast-crud/commit/19356142cda925d1248fe7c84c18cb8324ce5f70))
### Performance Improvements
* 适配antdv4样式 ([1108f58](https://github.com/fast-crud/fast-crud/commit/1108f5874a5369cbdb6f015264327ea8a879da61))
## [1.14.7](https://github.com/fast-crud/fast-crud/compare/v1.14.6...v1.14.7) (2023-07-24)
**Note:** Version bump only for package @fast-crud/fs-admin-antdv

View File

@ -1,6 +1,6 @@
{
"name": "@fast-crud/fs-admin-antdv",
"version": "1.14.7",
"version": "1.15.1",
"private": true,
"scripts": {
"dev": "vite",
@ -26,10 +26,10 @@
"@ant-design/icons-vue": "^6.1.0",
"@aws-sdk/client-s3": "^3.383.0",
"@aws-sdk/s3-request-presigner": "^3.383.0",
"@fast-crud/fast-crud": "^1.14.7",
"@fast-crud/fast-extends": "^1.14.7",
"@fast-crud/ui-antdv": "^1.14.7",
"@fast-crud/ui-interface": "^1.14.7",
"@fast-crud/fast-crud": "^1.15.1",
"@fast-crud/fast-extends": "^1.15.1",
"@fast-crud/ui-antdv": "^1.15.1",
"@fast-crud/ui-interface": "^1.15.1",
"@iconify/iconify": "^3.1.1",
"@iconify/json": "^2.2.98",
"@purge-icons/generated": "^0.9.0",

View File

@ -67,7 +67,8 @@ const mockUtil: any = {
}
let orderProp: any, orderAsc: any;
if (req && req.body) {
const { page, query, sort } = req.body;
const { page, sort } = req.body;
let query = req.body.query;
if (page.limit != null) {
limit = parseInt(page.limit);
}
@ -76,7 +77,7 @@ const mockUtil: any = {
}
orderProp = sort.prop;
orderAsc = sort.asc;
query = query || {};
if (Object.keys(query).length > 0) {
data = list.filter((item: any) => {
let allFound = true; // 是否所有条件都符合