Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于模板登录页面代码的问题 #3

Open
zxlovezly opened this issue Jun 14, 2019 · 1 comment
Open

关于模板登录页面代码的问题 #3

zxlovezly opened this issue Jun 14, 2019 · 1 comment

Comments

@zxlovezly
Copy link

为什么登录页面写了ajax请求的登录,老是闪退到登录页面啊。是不是admin.js里面写了什么代码?不会是return flase导致的吧。望回复。谢谢!
1560481654(1)

@WangEn
Copy link
Owner

WangEn commented Jun 20, 2019

index.html底部有一段判断是否登录的代码,这里是模拟判断了是否登录,去掉或者修改为你自己的判断方式就可以。

var login = JSON.parse(localStorage.getItem("login"));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants