Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
f320f688
提交
f320f688
authored
7月 17, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
1bb828f8
全部展开
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
17 行增加
和
4 行删除
+17
-4
index.html
client-dist/index.html
+2
-2
app.5c558967.js
client-dist/resources/app.5c558967.js
+0
-0
app.c4e267a4.js
client-dist/resources/app.c4e267a4.js
+0
-0
base_api.js
client/components/services/base_api.js
+13
-0
config.js
server/config.js
+2
-2
没有找到文件。
client-dist/index.html
浏览文件 @
f320f688
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.f39c4625.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.bb1c6d7c.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.c4e267a4.js"
></script></body></html>
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.f39c4625.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.bb1c6d7c.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.5c558967.js"
></script></body></html>
\ No newline at end of file
\ No newline at end of file
client-dist/resources/app.5c558967.js
0 → 100644
浏览文件 @
f320f688
差异被折叠。
点击展开。
client-dist/resources/app.c4e267a4.js
deleted
100644 → 0
浏览文件 @
1bb828f8
差异被折叠。
点击展开。
client/components/services/base_api.js
浏览文件 @
f320f688
...
@@ -161,6 +161,19 @@ export default class API {
...
@@ -161,6 +161,19 @@ export default class API {
})
})
}
}
err
=
new
Error
(
res
.
response
.
data
.
message
)
err
=
new
Error
(
res
.
response
.
data
.
message
)
}
else
if
(
res
.
response
.
data
.
status
===
401
&&
res
.
response
.
data
.
message
)
{
MessageBox
.
confirm
(
res
.
response
.
data
.
message
,
'提示'
,
{
confirmButtonText
:
'关闭'
,
// cancelButtonText: '取消',
type
:
'warning'
,
showClose
:
false
,
closeOnPressEscape
:
false
,
closeOnClickModal
:
false
,
showCancelButton
:
false
}).
then
(()
=>
{
/* 重新刷新当前页 */
window
.
location
.
reload
()
})
}
else
{
}
else
{
/* 错误处理,服务端非正常返回 */
/* 错误处理,服务端非正常返回 */
err
=
new
Error
(
JSON
.
stringify
(
res
.
response
))
err
=
new
Error
(
JSON
.
stringify
(
res
.
response
))
...
...
server/config.js
浏览文件 @
f320f688
...
@@ -6,8 +6,8 @@ if (state === 'test') {
...
@@ -6,8 +6,8 @@ if (state === 'test') {
// conf.agentApiUrl = 'http://10.1.1.5:8024/'
// conf.agentApiUrl = 'http://10.1.1.5:8024/'
// conf.agentApiUrl = 'http://192.168.3.254:8081'
// conf.agentApiUrl = 'http://192.168.3.254:8081'
}
else
if
(
state
===
'production'
)
{
}
else
if
(
state
===
'production'
)
{
//
conf.agentApiUrl = 'https://zapi.ezijing.com/'
conf
.
agentApiUrl
=
'https://zapi.ezijing.com/'
conf
.
agentApiUrl
=
'https://api2.ezijing.com/'
//
conf.agentApiUrl = 'https://api2.ezijing.com/'
}
}
global
.
app
=
null
global
.
app
=
null
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论