| | |
| | | console.error('数据解密失败:', e); |
| | | } |
| | | } |
| | | |
| | | console.log('res.data',res.data) |
| | | |
| | | if (res.data.code == 200) { |
| | | console.log('res.data',res.data) |
| | |
| | | type: 'warning', |
| | | duration: 2000 |
| | | }) |
| | | // sessionStorage.clear(); |
| | | // window.location.replace('/'); |
| | | sessionStorage.clear(); |
| | | window.location.replace('/'); |
| | | return Promise.reject(res.data.data.data) |
| | | } |
| | | Message({ |
| | |
| | | type: 'warning', |
| | | duration: 2000 |
| | | }) |
| | | // sessionStorage.clear(); |
| | | // window.location.replace('/'); |
| | | sessionStorage.clear(); |
| | | window.location.replace('/'); |
| | | return Promise.reject(res.data.data) |
| | | } |
| | | Message({ |