框架升级及修复升级后的bug

This commit is contained in:
Dev
2026-10-16 18:13:09 +08:00
parent dafb0c96c0
commit 2d342bcbd7
537 changed files with 49836 additions and 40933 deletions
@@ -82,7 +82,6 @@ class Rule extends Backend
if ($result === false) {
$this->error($this->model->getError());
}
Cache::rm('__menu__');
$this->success();
}
$this->error();
@@ -115,6 +114,7 @@ class Rule extends Backend
$this->error(__('Can not change the parent to child'));
}
}
$params = $this->preExcludePrimaryKey($params);
//这里需要针对name做唯一验证
$ruleValidate = \think\Loader::validate('AuthRule');
$ruleValidate->rule([
@@ -124,7 +124,6 @@ class Rule extends Backend
if ($result === false) {
$this->error($row->getError());
}
Cache::rm('__menu__');
$this->success();
}
$this->error();