Skip to content

Commit 59b0f8a

Browse files
author
zhaoxiang
committed
modified 修复普通用户登录
1 parent f1e129f commit 59b0f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controller/admin/Login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function getAccessMenuData(int $uid): array {
139139
}
140140
}
141141

142-
return $returnData;
142+
return array_values($returnData);
143143
}
144144

145145
/**

0 commit comments

Comments
 (0)