mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
修改文件展示
This commit is contained in:
parent
9e6c80ebae
commit
1ba94cb77c
@ -238,8 +238,8 @@ class SystemCrud extends AuthController
|
||||
]);
|
||||
|
||||
$data = [];
|
||||
foreach ($make as $item) {
|
||||
if (in_array($item['path'], ['pages', 'router', 'api'])) {
|
||||
foreach ($make as $key => $item) {
|
||||
if (in_array($key, ['pages', 'router', 'api'])) {
|
||||
$path = Make::adminTemplatePath() . $item['path'];
|
||||
} else {
|
||||
$path = app()->getRootPath() . $item['path'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user