|
@@ -76,7 +76,7 @@ import { LOG } from "@zxing/library/esm/core/datamatrix/encoder/constants";
|
|
|
},
|
|
|
onLoad() {
|
|
|
let that = this;
|
|
|
-
|
|
|
+ this.getMemberInfo();
|
|
|
// this.initEvent()
|
|
|
|
|
|
|
|
@@ -141,6 +141,13 @@ import { LOG } from "@zxing/library/esm/core/datamatrix/encoder/constants";
|
|
|
})
|
|
|
|
|
|
},
|
|
|
+ getMemberInfo(){
|
|
|
+ this.$u.api.memberInfo().then(res=>{
|
|
|
+ this.$u.vuex('vuex_member_info', res.data);
|
|
|
+ }).catch(err=>{
|
|
|
+ console.log('memberInfo',err.data);
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
}
|
|
|
}
|