Browse Source

debug mshop

stanley-king 7 years ago
parent
commit
0e5d6f9d53

File diff suppressed because it is too large
+ 1 - 1
dist/index.html


File diff suppressed because it is too large
+ 2 - 0
dist/mshop/js/app.0c00262c436e90b6680f.js


File diff suppressed because it is too large
+ 1 - 0
dist/mshop/js/app.0c00262c436e90b6680f.js.map


File diff suppressed because it is too large
+ 0 - 2
dist/mshop/js/app.6d2d4b75fd017d8ea8cf.js


File diff suppressed because it is too large
+ 0 - 1
dist/mshop/js/app.6d2d4b75fd017d8ea8cf.js.map


File diff suppressed because it is too large
+ 2 - 2
dist/mshop/js/manifest.81b14b855474a1d7272f.js


File diff suppressed because it is too large
+ 1 - 1
dist/mshop/js/manifest.81b14b855474a1d7272f.js.map


File diff suppressed because it is too large
+ 5 - 5
dist/mshop/js/vendor.44c5807c1a17df98226f.js


File diff suppressed because it is too large
+ 1 - 1
dist/mshop/js/vendor.44c5807c1a17df98226f.js.map


+ 17 - 1
src/App.vue

@@ -9,8 +9,24 @@
 
     import {Tabbar, TabbarItem, Loading} from 'vux'
     import Api from './lib/api'
-    export default {
+    import DebugUtil from "./components/util/DebugUtil"
+
+    export default
+    {
+        beforeCreate() {
+            DebugUtil.log("app","beforeCreate");
+        },
+        beforeMount() {
+            DebugUtil.log("app","beforeMount");
+        },
+        beforeUpdate() {
+            DebugUtil.log("app","beforeUpdate");
+        },
+        updated() {
+            DebugUtil.log("app","updated");
+        },
         created(){
+            DebugUtil.log("app","created");
             let _self = this;
             this.$store.commit('updateLoadingStatus', {isLoading: true});
             this.$http.jsonp(Api.memberInfo(), {_timeout: 5000}).then(function (res) {