From a16b2b4aa54d214d16f4e653b9c1b34421d61460 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 11 五月 2021 11:17:05 +0800 Subject: [PATCH] 搜索结果分页效果。 --- src/api/host.js | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/api/host.js b/src/api/host.js index 952df8f..ec065c4 100644 --- a/src/api/host.js +++ b/src/api/host.js @@ -1,6 +1,12 @@ /** * 鏈嶅姟HOST瀹氫箟 */ -export const $HOST = process.env.VUE_APP_API_HOST -// map鏈嶅姟 -export const $HOST_MAP_SERVICE = process.env.VUE_APP_MAP_SERVICE +import { getSchemeHost } from '../utils/tools' + +export const $HOST = getSchemeHost() + +// 绠$嚎鍒嗘瀽-绾夸笂 +export const $HOSTANALYSE = 'http://xearth.cn:6202' + +// 绠$嚎鍒嗘瀽-鏈湴 +// export const $HOSTANALYSE = 'http://10.238.105.124:8089' -- Gitblit v1.8.0