|
@@ -6,7 +6,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-
|
|
|
import {Tabbar, TabbarItem, Loading} from 'vux'
|
|
|
import Api from './lib/api'
|
|
|
import DebugUtil from "./components/util/DebugUtil"
|
|
@@ -28,7 +27,7 @@
|
|
|
created(){
|
|
|
DebugUtil.log("app","created");
|
|
|
let _self = this;
|
|
|
- this.$store.commit('updateLoadingStatus', {isLoading: true});
|
|
|
+ // this.$store.commit('updateLoadingStatus', {isLoading: true});
|
|
|
this.$http.jsonp(Api.memberInfo(), {_timeout: 5000}).then(function (res) {
|
|
|
if (res.body.code != 200) {
|
|
|
return;
|
|
@@ -41,7 +40,7 @@
|
|
|
_self.$http.jsonp(Api.userBonus()).then(function (res) {
|
|
|
_self.$store.commit('updateUser_bonus', {'array': res.body.datas.bonus_rate});
|
|
|
});
|
|
|
- this.$store.commit('updateLoadingStatus', {isLoading: false});
|
|
|
+ // this.$store.commit('updateLoadingStatus', {isLoading: false});
|
|
|
|
|
|
}, (err) => {
|
|
|
this.$vux.toast.show({
|