stanley-king 4 éve
szülő
commit
0db4ad6ab8
3 módosított fájl, 3 hozzáadás és 5 törlés
  1. 2 3
      src/App.vue
  2. 0 2
      src/components/blocks/util/proxy.js
  3. 1 0
      src/test.txt

+ 2 - 3
src/App.vue

@@ -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({

+ 0 - 2
src/components/blocks/util/proxy.js

@@ -137,8 +137,6 @@ class Proxy {
 
 }
 
-
-
 export default Proxy
 
 

+ 1 - 0
src/test.txt

@@ -0,0 +1 @@
+This is a test.