|
@@ -8,6 +8,8 @@ const userModules = {
|
|
|
userInfo: {},
|
|
|
|
|
|
tabbarList: [], //用户的tabbar
|
|
|
+
|
|
|
+ thirdCode:'',//第三方跳转来带的code
|
|
|
},
|
|
|
mutations: {
|
|
|
// 设置token
|
|
@@ -34,6 +36,12 @@ const userModules = {
|
|
|
})
|
|
|
state.tabbarList=arr
|
|
|
},
|
|
|
+
|
|
|
+ // 第三方跳转来带的参数
|
|
|
+ setThirdCode(state,data){
|
|
|
+ console.log('data',data);
|
|
|
+ state.thirdCode=data
|
|
|
+ }
|
|
|
},
|
|
|
actions: {
|
|
|
// 获取个人信息
|