|
|
@@ -13,14 +13,6 @@ import { useRouter } from 'vue-router'
|
|
|
|
|
|
import up from '@/assets/images/home/up.png'
|
|
|
import down from '@/assets/images/home/down.png'
|
|
|
-import cxcd from '@/assets/images/home/cxcd.png'
|
|
|
-import bldd from '@/assets/images/home/bldd.png'
|
|
|
-import ddcx from '@/assets/images/home/ddcx.png'
|
|
|
-import xygl from '@/assets/images/home/xygl.png'
|
|
|
-import fygl from '@/assets/images/home/fygl.png'
|
|
|
-import bxgs from '@/assets/images/home/bxgs.png'
|
|
|
-import bxgszh from '@/assets/images/home/bxgszh.png'
|
|
|
-import ywygl from '@/assets/images/home/ywygl.png'
|
|
|
|
|
|
import chinaMap from '@/assets/json/china.json'
|
|
|
|
|
|
@@ -715,6 +707,10 @@ const initCommonFunctions = () => {
|
|
|
api.homeApi.commonFunctions().then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
functionsList.value = res.data
|
|
|
+ functionsList.value.forEach(item => {
|
|
|
+ const ican = new URL(`${item.ican}`, import.meta.url).href
|
|
|
+ item.ican = ican
|
|
|
+ })
|
|
|
} else {
|
|
|
functionsList.value = []
|
|
|
}
|