Commit 59931b45 authored by 赵炳峰's avatar 赵炳峰

master

parent 2ee077a3
......@@ -473,7 +473,9 @@ export default {
.then(res => {
let data = res.data
if (data.Status) {
const expireTime = new Date(data.Data.expireTime).getTime()
this.$store.commit('saveToken', data.Data.token)
this.$store.commit('saveExpireTime', expireTime)
}
}).catch(res => {
console.log(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment