mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
修改
This commit is contained in:
parent
fe21773205
commit
248eb32a4a
@ -96,7 +96,7 @@ class SystemRouteCateServices extends BaseServices
|
||||
$cateInfo = $cateInfo ? $cateInfo->toArray() : [];
|
||||
$url .= '/' . $id;
|
||||
}
|
||||
$options = $this->dao->selectList(['app_name' => $appName])->toArray();
|
||||
$options = $this->dao->selectList(['app_name' => $appName], 'name as label,path as value')->toArray();
|
||||
$rule = [
|
||||
FormBuilder::select('pid', '上级分类', (int)($cateInfo['pid'] ?? 0))->options($options),
|
||||
FormBuilder::input('name', '分类名称', $cateInfo['name'] ?? '')->required(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user