fix: 导航未过滤已禁用

This commit is contained in:
2025-07-11 10:31:57 +08:00
parent 13eec27ea9
commit c18ba2dbc2

View File

@@ -106,6 +106,7 @@ abstract class Common extends BaseController
'language_id' => $language,
'status' => 1
])
->where('status', '=', 1)
->order(['sort' => 'asc', 'id' => 'asc'])
->select();
if ($nav->isEmpty()) {