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

怎么进行路由跳转呀 #6

Open
var-zhangbao opened this issue Feb 14, 2019 · 8 comments
Open

怎么进行路由跳转呀 #6

var-zhangbao opened this issue Feb 14, 2019 · 8 comments

Comments

@var-zhangbao
Copy link

怎么进行路由跳转呀,点击登录怎么跳转路由

@jiwenjiang
Copy link
Owner

就是正常angularjs跳转路由的方法

@var-zhangbao
Copy link
Author

不好使呀,$state.go 这个总是提示不能用

@jiwenjiang
Copy link
Owner

什么报错呢

@var-zhangbao
Copy link
Author

./src/components/login/login.js

/Users/zhangbao/Downloads/angularSeed-master/src/components/login/login.js
16:9 error '$state' is not defined no-undef
16:19 error Strings must use singlequote quotes

✖ 2 problems (2 errors, 0 warnings)

@jiwenjiang
Copy link
Owner

@var-zhangbao
Copy link
Author

那这个依赖注入到什么地方呢?没搞懂

@TyrnDa
Copy link

TyrnDa commented Dec 27, 2019

我新建了个组件,但是打开页面不展示任何内容

@jiwenjiang
Copy link
Owner

jiwenjiang commented Dec 27, 2019 via email

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

3 participants