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

[BUG] tabBar的icon 如果设置成远程地址构建会报错 #697

Closed
titanew opened this issue Mar 12, 2020 · 0 comments · Fixed by #700
Closed

[BUG] tabBar的icon 如果设置成远程地址构建会报错 #697

titanew opened this issue Mar 12, 2020 · 0 comments · Fixed by #700
Labels
bug Something isn't working

Comments

@titanew
Copy link
Contributor

titanew commented Mar 12, 2020

bug 描述

tabBar的icon 如果设置成远程地址构建会报错

复现步骤

期望结果

远程icon生效

复现代码

tabBar: {
    backgroundColor: '#4b2d2d',
    textColor: '#333',
    items: [
      {
        activeIcon: '',
        name: '\u9875\u97622',
        icon:'https://www.baidu.com/img/bd_logo1.png',
        pagePath: 'pages/ecujz/index',
      },
      {
        activeIcon: '',
        name: '\u9875\u97622',
        pagePath: 'pages/ecujz/index',
      },
    ],
  }

[提供可复现的代码,仓库,或线上示例]

版本信息:

remax 版本: [e.g. 1.15.0]
手机型号 [e.g. iPhone X]
小程序端 [e.g. 支付宝]
小程序版本[e.g. 2.3.0]
开发环境 [e.g. mac OS]
其他信息
image

🚨 [UNRESOLVED_ENTRY]: Could not resolve entry module (src/https:/www.baidu.com/img/bd_logo1.png).

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

Successfully merging a pull request may close this issue.

1 participant