Commit 99251ea0 by liimin

修改登录过期时间为30分钟

1 parent b9bd5d01
......@@ -92,7 +92,6 @@ export default {
if (valid) {
const { userId, oldPassword, newPassword } = this.info
const result = await ModifyPassword({ userId, oldPassword, newPassword })
console.log(result)
const { operateStatus } = result
if (operateStatus) {
this.emit(true)
......
......@@ -10,7 +10,7 @@ import {
} from '@/common/constants'
import qs from 'qs'
axios.defaults.withCredentials = true
const expiresMinute = 10
const expiresMinute = 30
// 创建一个错误
function errorCreate (msg) {
const error = new Error(msg)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!