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

源码vue-book/daily/libs/util.js,28行有错 #17

Open
TigerHorse opened this issue Dec 14, 2017 · 7 comments
Open

源码vue-book/daily/libs/util.js,28行有错 #17

TigerHorse opened this issue Dec 14, 2017 · 7 comments
Labels

Comments

@TigerHorse
Copy link

vue-book/daily/libs/util.js
28行改为:
return year + "" + month + "" + day;

@allfornaruto
Copy link

我也发现了这个错误。解决方式:return year+month+day改为return ${year}${month}${day};
不然返回值会把三个数值相加噢。

@jackli7758
Copy link

jackli7758 commented Dec 23, 2017

没起作用
snip20171223_4

@allfornaruto
Copy link

@jackli7758 中栏的内容也出不来吗?
getThemes(){
$.ajax.get('themes').then(res=>{
this.themes=res.others;
//console.log(this.themes.length);
//console.log(this.themes);
//看看这个数组中是否已经ajax获取到了数据,如果数据不存在,看一下proxy代理是否成功运行
})
}

@jackli7758
Copy link

果然是代理的问题,谢谢大哥。

@LaiHQ
Copy link

LaiHQ commented Jan 15, 2018

代理问题出在哪了?

@Bipy26
Copy link

Bipy26 commented Feb 5, 2018

各位在npm run dev后注意要执行node proxy.js启动代理服务

icarusion added a commit that referenced this issue Feb 15, 2018
@icarusion
Copy link
Owner

感谢反馈,已修改,再次印刷时将更正。

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

No branches or pull requests

6 participants