mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2026-03-12 02:46:05 +00:00
优化 fieldEq 支持混合类型
This commit is contained in:
parent
3ca8565ac8
commit
a6f2a55273
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cool-midway/core",
|
||||
"version": "7.0.0-beta6",
|
||||
"version": "7.0.0-beta7",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"typings": "index.d.ts",
|
||||
|
||||
@ -69,7 +69,7 @@ export interface QueryOp {
|
||||
// 查询字段
|
||||
select?: string[];
|
||||
// 字段相等
|
||||
fieldEq?: string[] | FieldEq[];
|
||||
fieldEq?: string[] | FieldEq[] | (string | FieldEq)[];
|
||||
// 添加排序条件
|
||||
addOrderBy?: {};
|
||||
// 关联配置
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cool-midway/core",
|
||||
"version": "7.0.0-beta6",
|
||||
"version": "7.0.0-beta7",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"typings": "index.d.ts",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user