重复赋值

pull/181/head
firemanhu 2020-04-10 16:02:04 +08:00
parent 290bfc4f75
commit 46298ba99a
1 changed files with 0 additions and 1 deletions

View File

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