Skip to content
GitLab
菜单
项目
群组
代码片段
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录/注册
切换导航
菜单
打开侧边栏
Zhang Guoqiang
yobot
提交
456a695f
提交
456a695f
编辑于
5月 23, 2020
作者:
yuudi
浏览文件
fix: catch and ignore an unknown error
上级
a11f0f2a
变更
1
Hide whitespace changes
Inline
Side-by-side
src/client/public/static/clan/statistics/statistics2.js
浏览文件 @
456a695f
...
...
@@ -159,9 +159,11 @@ var vm = new Vue({
that
.
selectingQQid
=
that
.
members
[
0
].
qqid
;
}
that
.
refreshData
();
// }).catch(function (error) {
// thisvue.$alert(error, '获取数据失败');
// thisvue.isLoading = false;
}).
catch
(
function
(
error
)
{
that
.
$alert
(
error
,
'
获取数据失败,请联系维护人员
'
);
that
.
isLoading
=
false
;
console
.
error
(
error
);
console
.
error
(
error
.
stack
);
});
},
...
...
@@ -607,7 +609,10 @@ var vm = new Vue({
this
.
sumDmgChart
.
setOption
(
option3
);
this
.
missChart
.
setOption
(
option4
);
this
.
lastChart
.
setOption
(
option5
);
this
.
bossBloodChart
.
setOption
(
option6
);
try
{
// 这里有时会出现一个错误,原因未知
this
.
bossBloodChart
.
setOption
(
option6
);
}
catch
(
e
){
console
.
error
(
e
)}
this
.
totalTimeChart
.
setOption
(
option7
);
this
.
bossHitChart
.
setOption
(
option8
);
this
.
totalDamageChart
.
setOption
(
option9
);
...
...
编辑
预览
Supports
Markdown
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录