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