Tencent / Tencent/tdesign-miniprogram

[t-image]缓存到微信文件系统的图片无法加载

Open
#2,447 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

tdesign-miniprogram 版本

重现

重现链接

<view> <image src="{{titleImage}}"></image> <t-image src="{{titleImage}}"></t-image> </view>

重现步骤
  <view>
    <image src="{{titleImage}}"></image>
    <t-image src="{{titleImage}}"></t-image>
  </view>

假设titleImage是缓存到文件系统中的图片文件,例如:http://usr/23452345,一试便知。

期望结果

像image一样通用。

实际结果

No response

基础库版本

No response

补充说明

缓存商品图片到文件系统后,无法从文件系统加载,但image没有问题。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the t-image component using the provided reproduction and compare its src handling with the native component for a cached filesystem path such as http://usr/23452345. Done means t-image loads the same cached image successfully as image.

Written by the indexing model from the issue text.

Assessment

Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.