4
0
Fork 0

更新 'src/Traits/ModelTree.php'

master
panliang 2022-09-23 15:02:50 +08:00
parent 5f3683ec2b
commit 361ff11542
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ trait ModelTree
* @param string $space * @param string $space
* @return array * @return array
*/ */
protected function buildSelectOptions(array $nodes = [], $parentId = 0, $prefix = '', $space = ' ') public function buildSelectOptions(array $nodes = [], $parentId = 0, $prefix = '', $space = ' ')
{ {
$d = '├─'; $d = '├─';
$prefix = $prefix ?: $d.$space; $prefix = $prefix ?: $d.$space;