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