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

只是单纯的感谢。 #36

Open
prlei opened this issue Feb 11, 2018 · 4 comments
Open

只是单纯的感谢。 #36

prlei opened this issue Feb 11, 2018 · 4 comments

Comments

@prlei
Copy link

prlei commented Feb 11, 2018

教程循序渐进,非常有帮助,夸张点说1天就入门(零基础除外),你在留下学习痕迹的同时,让我们结合官方文档学习的时候,更快捷的上手koa2,一堆话化作一句感激吧~~~!
顺祝: @chenshenhai 及大家春节愉快。

@Timzt
Copy link

Timzt commented Feb 12, 2018

你好,请问你一个问题。xhr.open('post', '/api/picture/upload.json')这里的 json文件,我去哪弄来

@prlei
Copy link
Author

prlei commented Feb 14, 2018

啊,没用到上传组件,这应该是请求的URL,不能理解为json,就像请求/upload.do,/update 一样。等明白人解答。

@Timzt
Copy link

Timzt commented Feb 14, 2018

是的,我问过立马就想起来了,只是个请求url名称弄的像json。另外,我想问下,我按照git主一样的代码写的,为什么点上传没效果。input生成不了,代码都对的呀。onchange好像进不去

@prlei
Copy link
Author

prlei commented Feb 18, 2018

这个问题厉害了,打console.log,alert看看,定位到是哪个变量没有值,或是其他什么诡异问题。

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