shiyj
2019-07-07 348c483d9e8cf81c485289a44c717fe1c23f4065
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("登录页面销毁调用");
        }
    });