From 895cc307b79dc3d573ef578ae84e3b7a75b5fa19 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期二, 07 九月 2021 18:38:12 +0800 Subject: [PATCH] config添加注解 --- src/config/baseConfig.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/config/baseConfig.js b/src/config/baseConfig.js index 025ee8b..14e4e7c 100644 --- a/src/config/baseConfig.js +++ b/src/config/baseConfig.js @@ -1,5 +1,3 @@ -var baseUrl = '//绾夸笂璇锋眰璺緞/' // 鍩虹璺緞(鏈湴闈炶法鍩熻矾寰�) -var testBaseUrl = 'http://192.168.31.22:8080/' // 寮�鍙戞祴璇曡矾寰�(鏈湴闈炶法鍩熻矾寰�) var isCrossDomain = 1 // 鏄惁璺ㄥ煙 var isTest = 0 // 鏄惁娴嬭瘯 var isMock = 1 // 鏄惁浣跨敤mock @@ -12,12 +10,19 @@ isMock = 0 } +// 绾夸笂闈炶法鍩� +var baseUrl = '//绾夸笂璇锋眰璺緞/' // 鍩虹璺緞(鏈湴闈炶法鍩熻矾寰�) + +// 娴嬭瘯闈炶法鍩� +var testBaseUrl = 'http://192.168.31.22:8080/' // 寮�鍙戞祴璇曡矾寰�(鏈湴闈炶法鍩熻矾寰�) + // 绾夸笂璺ㄥ煙 var cdBaseUrl = { name: '/api_online/', url: 'https://绾夸笂璇锋眰璺緞/', tip: '鍙湪鏍圭洰褰昪onfig/index.js淇敼绾夸笂璺緞' } + // 娴嬭瘯璺ㄥ煙 var cdTestBaseUrl = { name: '/api_test/', -- Gitblit v1.8.0