mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
新增手机端浏览模式
This commit is contained in:
@@ -366,6 +366,15 @@ class AdminControllerBase extends BaseController
|
||||
];
|
||||
|
||||
View::assign($data);
|
||||
|
||||
if ($this->request->isMobile()) {
|
||||
$logo_info = [
|
||||
'title' => sysconfig('site', 'logo_title'),
|
||||
'image' => sysconfig('site', 'logo_image'),
|
||||
'href' => __url('index/index'),
|
||||
];
|
||||
$this->assign('logo_info', $logo_info);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user