mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 11:02:48 +08:00
优化查询参数效果;发布新版本
This commit is contained in:
@@ -12,12 +12,12 @@ use think\console\Output;
|
|||||||
|
|
||||||
class VersionBase extends Command
|
class VersionBase extends Command
|
||||||
{
|
{
|
||||||
public const VERSION = 'v2.0.81';
|
public const VERSION = 'v2.0.82';
|
||||||
|
|
||||||
public const LAYUI_VERSION = '2.8.17';
|
public const LAYUI_VERSION = '2.8.17';
|
||||||
|
|
||||||
public const COMMENT = [
|
public const COMMENT = [
|
||||||
'优化更新逻辑',
|
'优化查询参数效果',
|
||||||
'发布新版本',
|
'发布新版本',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -271,6 +271,11 @@ class AdminControllerBase extends BaseController
|
|||||||
$excludes[$key] = $val;
|
$excludes[$key] = $val;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($val === '') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$op = isset($ops[$key]) && !empty($ops[$key]) ? $ops[$key] : '%*%';
|
$op = isset($ops[$key]) && !empty($ops[$key]) ? $ops[$key] : '%*%';
|
||||||
|
|
||||||
if (strpos($key, '[') === 0) {
|
if (strpos($key, '[') === 0) {
|
||||||
|
|||||||
@@ -494,6 +494,9 @@
|
|||||||
|
|
||||||
d.elemIdName = d.fieldAlias;
|
d.elemIdName = d.fieldAlias;
|
||||||
|
|
||||||
|
var a = '';
|
||||||
|
var b = '';
|
||||||
|
|
||||||
if (typeof d.fieldAlias == 'string') {
|
if (typeof d.fieldAlias == 'string') {
|
||||||
|
|
||||||
if (d.fieldAlias.indexOf('[') == 0) {
|
if (d.fieldAlias.indexOf('[') == 0) {
|
||||||
@@ -513,8 +516,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (d.search == 'number_limit') {
|
if (d.search == 'number_limit') {
|
||||||
var a = '';
|
|
||||||
var b = '';
|
|
||||||
if (d.searchValue) {
|
if (d.searchValue) {
|
||||||
var paramsArr = d.searchValue.split(',');
|
var paramsArr = d.searchValue.split(',');
|
||||||
a = paramsArr[0];
|
a = paramsArr[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user