How weex introduces custom variables.

problem description

the company uses weex as a project, and many icons involved need to be accessed by the server address, such as http://xxx.xxx.x.xx:xxxx/src/img/schoolImg.png. Because there are so many images involved, it is troublesome to replace them later. You want to introduce a custom variable / component to set the server address. So that the replacement can be completed at once later, so as to avoid omission

the environmental background of the problems and what methods you have tried

tried custom variables, but was not familiar with weex enough and failed.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
/ / the newly created module
< script >
const IoncUrl =" http://192.168.2.253:8080/src/img/wz.png";
export default IoncUrl
< / script >

/ / entry file
import Base_ from".. / page/base.vue"
new Vue (Base_,)

/ / destination file
< template >
.
< image class= "addicon": src= "IoncUrl" > < / image >
.
< / template >
< script >
const Base_ = weex.requireModule ("Base_");
export default {

data() {
    return {
        logo: "https://img.codeshelper.com/upload/img/2021/03/25/0izhio14d5i13205.png",
        IoncUrl:IoncUrl
    };
},    

.

what result do you expect? What is the error message actually seen?

the God of trouble to see if there is something wrong. Keep prompting that IoncUrl is not defined and Base_ cannot find

Mar.25,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b16076-2a763.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b16076-2a763.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?