mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2026-01-23 22:38:10 +00:00
完善
This commit is contained in:
parent
d16a84b57b
commit
3ca8565ac8
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-midway/core",
|
"name": "@cool-midway/core",
|
||||||
"version": "7.0.0-beta5",
|
"version": "7.0.0-beta6",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "index.d.ts",
|
"typings": "index.d.ts",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-midway/core",
|
"name": "@cool-midway/core",
|
||||||
"version": "7.0.0-beta5",
|
"version": "7.0.0-beta6",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"typings": "index.d.ts",
|
"typings": "index.d.ts",
|
||||||
|
|||||||
@ -464,7 +464,7 @@ export abstract class BaseService {
|
|||||||
if(typeof key === "string" && key.includes('.')){
|
if(typeof key === "string" && key.includes('.')){
|
||||||
const keys = key.split('.');
|
const keys = key.split('.');
|
||||||
const lastKey = keys.pop();
|
const lastKey = keys.pop();
|
||||||
key = {requestParam: lastKey, column: keys.join('.')};
|
key = {requestParam: lastKey, column: key};
|
||||||
}
|
}
|
||||||
// 单表字段无别名的情况下操作
|
// 单表字段无别名的情况下操作
|
||||||
if (typeof key === "string") {
|
if (typeof key === "string") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user