Comments (7)
这个问题是发布win后无法获得cookie 导致验证不过
from electron-admin.
when I run build:win , it can't login to homepage.
打包时候把浏览器控制台开启,看下错误日志是什么
from electron-admin.
when I run build:win , it can't login to homepage.
打包时候把浏览器控制台开启,看下错误日志是什么
没有报错,执行this.$router.push 没有反应。
from electron-admin.
when I run build:win , it can't login to homepage.
打包时候把浏览器控制台开启,看下错误日志是什么
没有报错,执行this.$router.push 没有反应。
用mock是直接打包时可以,带真实接口没法调转
from electron-admin.
when I run build:win , it can't login to homepage.
打包时候把浏览器控制台开启,看下错误日志是什么
没有报错,执行this.$router.push 没有反应。
用mock是直接打包时可以,带真实接口没法调转
最好先梳理一下之前的登录逻辑,首先保证你的登录逻辑正确,vuex修改状态后处理路由时路由是否工作正常,包括this.redirect
重定向的路径内容,不报错的情况下就得自己排查一下,可以看下vue-devtools调试工具,已经集成了,我这边没遇到过这种情况
from electron-admin.
when I run build:win , it can't login to homepage.
打包时候把浏览器控制台开启,看下错误日志是什么
没有报错,执行this.$router.push 没有反应。
用mock是直接打包时可以,带真实接口没法调转
最好先梳理一下之前的登录逻辑,首先保证你的登录逻辑正确,vuex修改状态后处理路由时路由是否工作正常,包括
this.redirect
重定向的路径内容,不报错的情况下就得自己排查一下,可以看下vue-devtools调试工具,已经集成了,我这边没遇到过这种情况
感谢回复,我生产环境把vueroute错误屏蔽了,感觉好像是vueroute 版本导致的。
Redirected when going from "/login?redirect=%2Fdashboard" to "/dashboard" via a navigation guard
from electron-admin.
这个问题是发布win后无法获得cookie 导致验证不过
ok
from electron-admin.
Related Issues (3)
- 登录进入首页,选项卡路由信息异常 HOT 4
- 遇坑
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-admin.