1、<image :src="getHeadPic" v-if="!isHeadForceUpdate" class="head_image"></image>
2、getHeadPic = _downloads/pic/49657989-591c-4c0b-9b78-fbff4c52cd31?ran=1683361369267;//图片内容A
3、plus.downloader.createDownload(url, {filename: '_downloads/pic/49657989-591c-4c0b-9b78-fbff4c52cd31'}, function(d, status) {
getHeadPic = d.filename+"?ran="+new Date().getTime();//图片内容B
this.isHeadForceUpdate=true
this.$nextTick(function(){
this.isHeadForceUpdate= false;
})
});
image始终展示的图片内容A
ujoin_wql (作者)
删除了,重新下载的,我将相对路径改为绝对路径就好了
2023-05-06 17:51