fengxiang
2018-02-27 601948872ec5fe49942c7fc3619cda0b51fcceff
src/app/routes/passport/login/login.component.ts
@@ -28,7 +28,6 @@
        private settingsService: SettingsService,
        private socialService: SocialService,
        private loginService:LoginService,
        private _cookieService:CookieService,
        @Inject(DA_SERVICE_TOKEN) private tokenService: ITokenService) {
        this.form = fb.group({
            userName: [null, [Validators.required, Validators.minLength(5)]],
@@ -39,7 +38,6 @@
        });
        let nowTime = new Date();
        nowTime.setDate(nowTime.getDate()+1);
        this._cookieService.put('test','test',{expires:nowTime});
    }
    // region: fields