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

npm run dev:weapp后微信小程序中的静态资源图片出现404 #2086

Closed
hengxuZ opened this issue Jan 30, 2019 · 6 comments
Closed

npm run dev:weapp后微信小程序中的静态资源图片出现404 #2086

hengxuZ opened this issue Jan 30, 2019 · 6 comments
Labels
question Further information is requested

Comments

@hengxuZ
Copy link

hengxuZ commented Jan 30, 2019

image

小程序开发工具打开后 当前的页面中的图片都出现了404错误

@taro-bot
Copy link

taro-bot bot commented Jan 30, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@luckyadam
Copy link
Member

@hengxuZ
Copy link
Author

hengxuZ commented Jan 30, 2019

@luckyadam ,大哥你好
taro直接不识别我的images文件夹所以导致的 图片找不到

通过修改图片的分辨率,能够实现图片请求的到

但是关闭了微信小程序开发工具,重新打开后,再一次不能识别图片文件

谢谢你的帮助十分感激!
不知道到底是我个人原因所致还是?

我想请问 关于分辨率低于64 本地的图片
应该如何引用才能够确保不出现 请求不到的问题

@luckyadam
Copy link
Member

请看一下我发的文档

@yuche yuche added question Further information is requested answered labels Jan 30, 2019
@taro-bot
Copy link

taro-bot bot commented Jan 30, 2019

Hello~

您的问题楼上已经有了确切的回答,如果没有更多的问题这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

@hengxuZ
Copy link
Author

hengxuZ commented Jan 31, 2019

@luckyadam 已经解决我的问题。
没有仔细翻阅文档,导致的错误
十分感谢你的帮助,提前预祝您新年快乐
也祝愿taro越来越强大👍

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

No branches or pull requests

3 participants