mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 21:36:43 +08:00
刷新图片路径修改
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import config from '@/config'
|
||||
export default {
|
||||
refreshImg() {
|
||||
console.log(config.mainUrl, 'this.$mainUrl')
|
||||
if (window.WebViewJavascriptBridge) {
|
||||
EWebBridge.webCallAppInJs('webview_right_button', {
|
||||
btns: [
|
||||
{
|
||||
img: 'images/refresh.png',
|
||||
img: config.mainUrl + '/images/refresh.png',
|
||||
route: {
|
||||
flag: '',
|
||||
extra: {}
|
||||
|
||||
@@ -211,6 +211,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
refresh.refreshImg()
|
||||
if (process.env.NODE_ENV != 'development') {
|
||||
|
||||
refresh.refreshImg()
|
||||
|
||||
Reference in New Issue
Block a user