|
|
@@ -3916,6 +3916,10 @@ const addOp3 = async (userTime: any, loadTime: any, object: any, status: any) =>
|
|
|
const res = await axios.get('https://pbl.cocorobo.cn/api/pbl/selectUser', {
|
|
|
params: { userid: props.userid }
|
|
|
})
|
|
|
+ if (res == 201) {
|
|
|
+ message.error('登录已过期,请重新登录')
|
|
|
+ return
|
|
|
+ }
|
|
|
userJson.value = res[0][0]
|
|
|
console.log(userJson.value)
|
|
|
console.log(res[0][0])
|
|
|
@@ -3924,7 +3928,6 @@ const addOp3 = async (userTime: any, loadTime: any, object: any, status: any) =>
|
|
|
catch (e) {
|
|
|
console.log(e)
|
|
|
if (e === 123) {
|
|
|
- // message.error('登录已过期,请重新登录')
|
|
|
return
|
|
|
}
|
|
|
setTimeout(() => {
|