|
@@ -176,8 +176,8 @@ export default {
|
|
|
this.$store.commit('common/UPDATE_PHONE', phone)
|
|
|
this.$store.commit('common/UPDATE_TOKEN', token)
|
|
|
|
|
|
- this.$cookie.set('afhousephone', phone, '30d')
|
|
|
- this.$cookie.set('afhousetoken', token, '30d')
|
|
|
+ this.$cookie.set('afhousephone', phone, { expires: '30D' })
|
|
|
+ this.$cookie.set('afhousetoken', token, { expires: '30D' })
|
|
|
})
|
|
|
|
|
|
Toast({
|