mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
修改编辑文件问题
This commit is contained in:
parent
eec5bcafc2
commit
dc79fbbf9a
@ -329,12 +329,13 @@ class SystemCrud extends AuthController
|
||||
|
||||
$makeFilepath = '';
|
||||
foreach ($crudInfo->make_path as $key => $item) {
|
||||
$path = $item;
|
||||
if (in_array($key, ['pages', 'router', 'api'])) {
|
||||
$item = Make::adminTemplatePath() . $item;
|
||||
} else {
|
||||
$item = app()->getRootPath() . $item;
|
||||
}
|
||||
if ($filepath == $item) {
|
||||
if ($filepath == $path) {
|
||||
$makeFilepath = $item;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user