Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
ab2f5130
提交
ab2f5130
authored
6月 30, 2021
作者:
fit2cloud-chenyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 内网环境请求远程axios.js报错
上级
1f86ce17
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
3 行增加
和
2 行删除
+3
-2
ShiroServiceImpl.java
.../java/io/dataease/auth/service/impl/ShiroServiceImpl.java
+1
-0
axios.js
frontend/public/axios.js
+0
-0
index.html
frontend/public/index.html
+1
-1
request.js
frontend/src/utils/request.js
+1
-1
没有找到文件。
backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
浏览文件 @
ab2f5130
...
...
@@ -38,6 +38,7 @@ public class ShiroServiceImpl implements ShiroService {
filterChainDefinitionMap
.
put
(
"/link/**"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/index.html"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/link.html"
,
ANON
);
filterChainDefinitionMap
.
put
(
"/axios.map"
,
ANON
);
//验证链接
filterChainDefinitionMap
.
put
(
"/api/link/validate**"
,
ANON
);
...
...
frontend/public/axios.js
0 → 100644
浏览文件 @
ab2f5130
差异被折叠。
点击展开。
frontend/public/index.html
浏览文件 @
ab2f5130
...
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<script
src=
"
https://unpkg.com/axios/dist/axios.min
.js"
></script>
<script
src=
"
axios
.js"
></script>
<title><
%=
webpackConfig
.
name
%
></title>
</head>
<body>
...
...
frontend/src/utils/request.js
浏览文件 @
ab2f5130
import
axios
from
'axios'
//
import axios from 'axios'
// import { MessageBox, Message } from 'element-ui'
import
store
from
'@/store'
import
{
$alert
,
$error
}
from
'./message'
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论