Pre Merge pull request !181 from firemanhu/0410-fireman

pull/181/MERGE
firemanhu 2020-04-10 16:11:18 +08:00 committed by Gitee
commit 0b900c5a1b
1 changed files with 0 additions and 1 deletions

View File

@ -266,7 +266,6 @@ class Backend extends Controller
$tableName = '';
if ($relationSearch) {
if (!empty($this->model)) {
$name = \think\Loader::parseName(basename(str_replace('\\', '/', get_class($this->model))));
$name = $this->model->getTable();
$tableName = $name . '.';
}