uniapp開發小程序中image標簽動態綁定url失敗問題
不妨在地址前面加上/__pageframe__/
<image class="img" :src="imgUrl" mode="aspectFit"></image>
const imgUrl = ref('/__pageframe__/static/no_img.png');
本文來自博客園,作者:RHCHIK,轉載請注明原文鏈接:http://www.rzrgm.cn/suihung/p/17720136.html
不妨在地址前面加上/__pageframe__/
<image class="img" :src="imgUrl" mode="aspectFit"></image>
const imgUrl = ref('/__pageframe__/static/no_img.png');
本文來自博客園,作者:RHCHIK,轉載請注明原文鏈接:http://www.rzrgm.cn/suihung/p/17720136.html