...
|
...
|
@@ -19,6 +19,7 @@ const store=new Vuex.Store({ |
|
|
noReadNum:0,
|
|
|
attrVal:[],//detailAttr里的valindex [0,0]
|
|
|
attrTxt:'请选择商品规格尺寸',
|
|
|
refreshStory:false,
|
|
|
isLogin:false,
|
|
|
userinfo:uni.getStorageSync('userinfo')?JSON.parse(uni.getStorageSync('userinfo')):{},
|
|
|
isSDKReady: false ,// TIM SDK 是否 ready
|
...
|
...
|
@@ -28,6 +29,12 @@ const store=new Vuex.Store({ |
|
|
currentMessageList:[], //消息列表
|
|
|
},
|
|
|
mutations:{
|
|
|
setRefreshStory(state,data){
|
|
|
state.refreshStory = data
|
|
|
},
|
|
|
defaultRefreshStory(state){
|
|
|
state.refreshStory = false
|
|
|
},
|
|
|
setLandParam(state,data){
|
|
|
state.landParam = data
|
|
|
},
|
...
|
...
|
|