diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index 16660eb9..0d2add82 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -21,7 +21,7 @@ class TopicNas extends Common // 获取国家/语言列表 $languages = $this->getLanguages(); // 输出国家/语言列表 - if (request()->isMobile()) { + if (get_platform() == 'mobile') { View::assign('header_languages', $languages); }