mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui
This commit is contained in:
commit
b2f3195de5
|
@ -1,4 +1,3 @@
|
|||
// eslint-disable-next-line import/no-unresolved
|
||||
import { HttpErrorContent } from '@/components';
|
||||
|
||||
const Index = () => {
|
|
@ -1,4 +1,3 @@
|
|||
// eslint-disable-next-line import/no-unresolved
|
||||
import { HttpErrorContent } from '@/components';
|
||||
|
||||
const Index = () => {
|
|
@ -182,7 +182,7 @@ export const admin = () => {
|
|||
const us = deriveLoginState();
|
||||
if (gr.ok && !us.isAdmin) {
|
||||
gr.ok = false;
|
||||
gr.redirect = RouteAlias.home;
|
||||
gr.redirect = '';
|
||||
}
|
||||
return gr;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue