刷新图片路径修改

This commit is contained in:
na.guo
2020-08-07 11:57:35 +08:00
parent df5ded59c8
commit fe2815d117
2 changed files with 4 additions and 1 deletions

View File

@@ -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: {}