taro icon indicating copy to clipboard operation
taro copied to clipboard

小程序 tabBar 设置无法使用 import 导入的静态资源

Open Dithub2016 opened this issue 8 years ago • 3 comments

问题描述 小程序 tabBar 设置无法使用 import 导入的静态资源

复现步骤

image

报错信息 在 node_modules/@tarojs/cli/src/weapp.js 里的第938行代码后方直接 throw item, 所抛出的 item 为 image

系统信息

  • 操作系统: window7
  • Taro 版本 v1.0.0.beta11
  • Node.js 版本 v10.6.0

Dithub2016 avatar Aug 18 '18 01:08 Dithub2016

#197 和这个的问题好像是一样的

Dithub2016 avatar Aug 18 '18 01:08 Dithub2016

恩,因为这里的解析直解析了字符串格式的情况~可以改进

luckyadam avatar Aug 18 '18 07:08 luckyadam

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 24 '18 07:10 stale[bot]