diff --git a/pages/component/image/image-path.uvue b/pages/component/image/image-path.uvue index bd869aa4b9f5d4f63fb9f72404cd938ef9257ec1..49b5c4dd5ab781adceaef962c9fda197f19edc1e 100644 --- a/pages/component/image/image-path.uvue +++ b/pages/component/image/image-path.uvue @@ -23,26 +23,26 @@ data: [ { src: '/static/test-image/logo.png', - description: '本地根路径' + description: '本地路径:/static方式' }, { src: '../../../static/test-image/logo.png', - description: '本地相对路径' + description: '本地路径:../static/' }, { src: '../../../static/Test-Image/Logo.png', description: '本地相对路径忽略大小写' }, { - src: 'logo.png', //TODO - description: '本地当前路径(暂不支持)' + src: 'logo.png', + description: '非static目录无法访问' }, { // #ifdef APP-ANDROID src: 'file:///storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__4517034/www/static/test-image/logo.png', // #endif // TODO iOS还需再补路径 - description: '本地绝对路径' + description: '本地绝对路径file:///方式。需注意打包后包名appid匹配' }, { src: 'testerror.jpg',