Skip to content
New issue

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

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

Already on GitHub? # to your account

请求一个没有后缀的action 附带querystring时 请求都不发出去? #25

Open
capqueen opened this issue Aug 17, 2016 · 1 comment

Comments

@capqueen
Copy link

capqueen commented Aug 17, 2016

var data = require('text!current/demandsubcribe?userid=' + seajs.data.vars.currentUserId); console.log(data);

代码是上面这样的,我确认单独拿url出来访问是有内容的。

@capqueen
Copy link
Author

然后还遇到比较奇怪的问题。我把seajs.data.vars.currentUserId拿掉,把url写死text!current/demandsubcribe?userid=1
这样又是没问题的

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

No branches or pull requests

1 participant