main.js
Vue.prototype.$fileUrl = 'http://xxx.xxxxx.com/';  
vue文件?
<view class="image-wrapper">  
    <image :src="$fileUrl + item.path" mode="aspectFill"></image>  
</view>如上的写法,在浏览器端调试能正常出图,在App上就不行,微信小程序也不行,看到$fileUrl是undefined。这种情况需要怎么做?新手求教。
 
             
             
             
			 
                                        
                                     
                                                                     
            
z***@126.com (作者)
好的,了解,谢谢
2019-07-15 18:18