吴学文
2019-07-10 4ee6445f67bbb56caa2b2f981afce6e87cc602af
WebService/src/main/resources/components/login/login.js
@@ -8,7 +8,7 @@
            }
        },
        _initMethod:function(){
            vc.component.clearCacheData();
        },
        _initEvent:function(){
             vc.component.$on('errorInfoEvent',function(_errorInfo){
@@ -24,7 +24,10 @@
                     });
        },
        methods:{
            doLogin(){
            clearCacheData:function(){
                vc.clearCacheData();
            },
            doLogin:function(){
                vc.http.post(
                            'login',
                            'doLogin',
@@ -47,6 +50,9 @@
                             });
            }
        },
        _destroyedMethod:function(){
            console.log("登录页面销毁调用");
        }
    });