Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] 本地图片引入路径编译错误 #235

Closed
b2nil opened this issue Sep 17, 2019 · 0 comments
Closed

[BUG] 本地图片引入路径编译错误 #235

b2nil opened this issue Sep 17, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@b2nil
Copy link

b2nil commented Sep 17, 2019

bug 描述
windows 系统中,从多层级目录中引入本地图片资源,编译后的图片路径会出错,导致小程序开发工具找不到图片,具体见末尾截图。

直接将图片资源放在 assets 目录下,是可以正常引用的。

复现步骤
复现步骤详见描述和截图。

期望结果
windows 开发环境中能正常引入本地图片。

复现代码

版本信息:

  • remax 版本: 1.0.16
  • 手机型号: 无
  • 小程序端: 微信小程序
  • 小程序版本: 2.8.2
  • 开发环境: windows

其他信息

  • 本地图片引入
    1

  • 报错信息
    2

  • 编译后文件
    3

@b2nil b2nil added the bug Something isn't working label Sep 17, 2019
yesmeck added a commit that referenced this issue Oct 6, 2019
@yesmeck yesmeck closed this as completed in 12a3669 Oct 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant