去除前端element
This commit is contained in:
@@ -1,11 +1,20 @@
|
||||
<template>
|
||||
<div
|
||||
<!-- <div
|
||||
:class="'container' + (mode ? ' old_container' : '')"
|
||||
v-loading="loading"
|
||||
element-loading-text="页面加载中"
|
||||
element-loading-spinner="el-icon-loading"
|
||||
element-loading-background="#FFFFFF"
|
||||
> -->
|
||||
<div
|
||||
:class="'container' + (mode ? ' old_container' : '')"
|
||||
>
|
||||
|
||||
|
||||
<!-- v-loading="loading"
|
||||
van-loading-text="页面加载中"
|
||||
van-loading-spinner="el-icon-loading"
|
||||
van-loading-background="#FFFFFF" -->
|
||||
<div class="title">{{ info.title }}</div>
|
||||
<div class="date">{{ modifyDate(info.publicTime) }}</div>
|
||||
<hr />
|
||||
@@ -65,35 +74,51 @@ export default {
|
||||
} else {
|
||||
let code = [6501, 6001];
|
||||
if (code.indexOf(data.data.bizCode) != -1) {
|
||||
this.$message({
|
||||
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})/* */
|
||||
|
||||
/* this.$message({
|
||||
message: "请求超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
setTimeout(() => {
|
||||
window.location.replace(
|
||||
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
|
||||
);
|
||||
}, 3000);
|
||||
} else {
|
||||
this.$message({
|
||||
this.$toast({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
/* this.$message({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
}
|
||||
},
|
||||
onFail: function (err) {
|
||||
this.loading = false;
|
||||
this.$notify({
|
||||
this.$notify({ type: 'warning', message: '请求失败',duration: 3000, });
|
||||
|
||||
|
||||
/* this.$notify({
|
||||
title: "错误",
|
||||
message: "请求失败",
|
||||
type: "error",
|
||||
duration: 3000,
|
||||
});
|
||||
}); */
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user