今天学习微信小程序 加载图片出错
Failed to load image /pages/index/image/index.jpg : the server responded with a status of 404 (HTTP/1.1 404 Not Found)
经过排查原来是标签中少了一个斜杠
<
image
src=
"image/index.jpg"></
image
>应该改为
<
image
src=
"/image/index.jpg"></
image
>