fengxiang
2018-02-27 b5d06c6068e919fdaaf55e771b6d39b4c4e9602b
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