登录后不自动跳转

that.$http.post(Config.Domain + '/login',that.loginform)
.then(function(ret){
    if(ret.statusText === 'OK'){
        that.$Notice.success({
            title: '登录成功',
            desc: ''
        });
        //window.location = Config.Domain;
        window.location.href = Config.Domain;
        //window.location.reload();
    }
}).catch(function(e){
    console.log(e.statusText);
});

dev:apache 正常跳转 服务器:nginx 不跳转 单页面没有设置路由 提交后 status:302

求解 万谢!