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

遇到两个问题 #20

Closed
gitmithy opened this issue Jan 23, 2016 · 3 comments
Closed

遇到两个问题 #20

gitmithy opened this issue Jan 23, 2016 · 3 comments

Comments

@gitmithy
Copy link

安装之后运行时报
[2016-01-23 13:34:23] [Warning] db.name is deprecated, use db.database instead
[2016-01-23 13:34:23] [Warning] db.pwd is deprecated, use db.password instead
点继续阅读没有进入文章详情(文章详情页依然显示列表)

@zhiquan-yu
Copy link

将 db.js 配置文件的 name 改为 database,pwd 改为 password。

@lizheming
Copy link
Collaborator

ThinkJS 升级到 2.1 之后 name 和 pwd 改成 database 和 password 了。按照 ls 说的修改下即可。

@solarhell
Copy link

deprecated, 应该就是说用法被废弃了 建议看一下thinkjs2.1的changelog

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

4 participants