mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-15 05:33:47 +08:00
发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md
This commit is contained in:
@@ -103,7 +103,7 @@ const transform: AxiosTransform = {
|
||||
case ResultEnum.TIMEOUT:
|
||||
const LoginName = PageEnum.BASE_LOGIN_NAME;
|
||||
const LoginPath = PageEnum.BASE_LOGIN;
|
||||
if (router.currentRoute.value?.name === LoginName) return;
|
||||
if (router.currentRoute.value.name === LoginName) return;
|
||||
// 到登录页
|
||||
errorMsg = message ?? '登录超时,请重新登录!';
|
||||
$dialog.warning({
|
||||
@@ -284,14 +284,7 @@ export const http = createAxios();
|
||||
|
||||
// 导出
|
||||
export const jumpExport = function (url, params) {
|
||||
window.location.href =
|
||||
urlPrefix +
|
||||
url +
|
||||
'?' +
|
||||
encodeParams({
|
||||
...delNullProperty(params),
|
||||
...{ authorization: useUserStoreWidthOut().token },
|
||||
});
|
||||
jump(url, params);
|
||||
};
|
||||
|
||||
// 跳转
|
||||
|
||||
Reference in New Issue
Block a user