From 7484d3a840fae86674903db842a941182e5b37a4 Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Fri, 2 Feb 2024 14:04:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0image=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/image/image-path.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/image/image-path.uvue b/pages/component/image/image-path.uvue index 1cfa7506..4a2604eb 100644 --- a/pages/component/image/image-path.uvue +++ b/pages/component/image/image-path.uvue @@ -48,9 +48,9 @@ description: 'import方式' }, { - src: 'file:///storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__3584C99/www/static/test-image/logo.png', + src: 'file:///android_asset/apps/__UNI__3584C99/www/static/test-image/logo.png', // TODO iOS发版时还需再补路径 - description: '本地绝对路径file://方式(仅限Android平台,需注意打包后包名appid匹配)' + description: '本地绝对路径file://方式(仅限Android平台,打包后生效,需注意打包后appid匹配)' }, { src: 'testerror.jpg', -- GitLab