|
|
@@ -117,6 +117,12 @@
|
|
|
tempTip.waitingTip('页面跳转中');
|
|
|
location=response.data.url;
|
|
|
}
|
|
|
+ }).catch(function(response){
|
|
|
+ tempTip.setDuration(6000);
|
|
|
+ tempTip.waitingTip('错误');
|
|
|
+ console.log(response)
|
|
|
+ alert('页面过期或网络异常,请在刷新后重新登录');
|
|
|
+ window.location.reload();
|
|
|
})
|
|
|
}
|
|
|
</script>
|