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