Klein Blue 2 år sedan
förälder
incheckning
40fbc87619
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/store/modules/luru.js

+ 2
- 2
src/store/modules/luru.js Visa fil

@@ -58,9 +58,9 @@ const mutations = {
console.log(store.state.user.user_id,'store.state.user.user_id')
console.log(JSON.parse(value).user_id,'JSON.parse(value).user_id')
console.log(store.state.user.user_id==JSON.parse(value).user_id,'store.state.user.user_id==JSON.parse(value).user_id')
if(store.state.user.user_id==JSON.parse(value).user_id){
// if(store.state.user.user_id==JSON.parse(value).user_id){
Object.assign(state, JSON.parse(value))
}
// }
}
},
/* 生成 **/

Laddar…
Avbryt
Spara