|
@@ -28,8 +28,8 @@ export const {
|
|
|
} = instance;
|
|
|
|
|
|
const gotoLogin = () => {
|
|
|
- // const loginHref = import.meta.env.DEV ? 'http://localhost:5174' : appBackRoot[params.app]
|
|
|
- // location.href = loginHref + '?redirect=' + escape(location.href) + '#/login'
|
|
|
+ const loginHref = import.meta.env.DEV ? 'http://localhost:5174' : appBackRoot[params.app]
|
|
|
+ location.href = loginHref + '?redirect=' + escape(location.href) + '#/login'
|
|
|
// if (import.meta.env.DEV) {
|
|
|
// GAxios.post("/service/manage/login", {
|
|
|
// password: "MRinIEn3ExMjM0NTY=Q5Lm39urQWzN7k4oCG",
|