|
@@ -203,6 +203,8 @@ export default {
|
|
|
uni.removeStorageSync('updateHome'); //消费首页刷新事件
|
|
uni.removeStorageSync('updateHome'); //消费首页刷新事件
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ this.appCommonConfig();
|
|
|
|
|
+
|
|
|
if(this.$method.isLogin()){
|
|
if(this.$method.isLogin()){
|
|
|
this.$store.state.allowLoading = false;
|
|
this.$store.state.allowLoading = false;
|
|
|
this.$api.getinfoAttached().then(res => {
|
|
this.$api.getinfoAttached().then(res => {
|
|
@@ -225,7 +227,7 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- ...mapActions(['getUserInfo']),
|
|
|
|
|
|
|
+ ...mapActions(['getUserInfo','appCommonConfig']),
|
|
|
toFixed(number) {
|
|
toFixed(number) {
|
|
|
if(number > 0) {
|
|
if(number > 0) {
|
|
|
return number.toFixed(2)
|
|
return number.toFixed(2)
|