Klein Blue il y a 2 ans
Parent
révision
40fbc87619
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/store/modules/luru.js

+ 2
- 2
src/store/modules/luru.js Voir le fichier

@@ -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))
}
// }
}
},
/* 生成 **/

Chargement…
Annuler
Enregistrer