zzz-pc-view 0.0.29 → 0.0.30
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/package.json +1 -1
- package/src/index.es.js +7 -7
- package/src/index.umd.js +1 -1
package/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -3295,14 +3295,14 @@ class CurdApi {
|
|
|
3295
3295
|
const getListParam = (list2, option, listFilter) => {
|
|
3296
3296
|
let response2 = [...list2];
|
|
3297
3297
|
let query = {};
|
|
3298
|
+
const queryResult = /\?([^#]*)/.exec(option.url);
|
|
3299
|
+
if (queryResult == null ? void 0 : queryResult[1]) {
|
|
3300
|
+
query = Object.assign(query, parse(queryResult[1]));
|
|
3301
|
+
}
|
|
3302
|
+
if (option.body) {
|
|
3303
|
+
query = Object.assign(query, JSON.parse(option.body));
|
|
3304
|
+
}
|
|
3298
3305
|
if (listFilter) {
|
|
3299
|
-
const queryResult = /\?([^#]*)/.exec(option.url);
|
|
3300
|
-
if (queryResult == null ? void 0 : queryResult[1]) {
|
|
3301
|
-
query = Object.assign(query, parse(queryResult[1]));
|
|
3302
|
-
}
|
|
3303
|
-
if (option.body) {
|
|
3304
|
-
query = Object.assign(query, JSON.parse(option.body));
|
|
3305
|
-
}
|
|
3306
3306
|
response2 = listFilter(response2, query);
|
|
3307
3307
|
}
|
|
3308
3308
|
return {
|