Commit e573c70b authored by chenqikuai's avatar chenqikuai

fix: 森田系列指定区块链浏览器地址

parent 97ea7091
......@@ -3,4 +3,5 @@ VITE_menuTopIconSrc=/images/common/styh-logo.jpg
VITE_menuTopIconWidth=100px
VITE_hiddeRecharge=1
VITE_hideHome=1
VITE_simpleAvatarClickMenu=1
\ No newline at end of file
VITE_simpleAvatarClickMenu=1
VITE_CHAIN_URL=http://110.40.151.110:9012
\ No newline at end of file
......@@ -3,4 +3,5 @@ VITE_menuTopIconSrc=/images/common/styz-logo.jpg
VITE_menuTopIconWidth=100px
VITE_hiddeRecharge=1
VITE_hideHome=1
VITE_simpleAvatarClickMenu=1
\ No newline at end of file
VITE_simpleAvatarClickMenu=1
VITE_CHAIN_URL=http://121.4.77.148:9012
\ No newline at end of file
......@@ -59,5 +59,12 @@ export const setCurrentRoute = (currentRoute: any) => {
globalState.currentRoute = currentRoute;
};
export const setUrlList = (urlList: any) => {
globalState.urlList = urlList;
if (import.meta.env.VITE_CHAIN_URL) {
globalState.urlList = {
...urlList,
chain_browser_url: import.meta.env.VITE_CHAIN_URL,
};
} else {
globalState.urlList = urlList;
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment