From d60b00b373f76f1db69bca0c4df2c27aa8546db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= Date: Thu, 16 Dec 2021 15:04:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E5=90=91=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/military/expert/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/military/expert/fetch.js b/src/military/expert/fetch.js index b4a7ffc7..becee90a 100644 --- a/src/military/expert/fetch.js +++ b/src/military/expert/fetch.js @@ -3,7 +3,7 @@ import javaFetch from '../javaFetch'; let settings=JSON.parse(localStorage.chromesetting); -let actionUrl = settings.api_urls ? settings.api_urls.expert :'http://10.47.38.56:8088'; +let actionUrl = settings.api_urls && settings.api_urls.expert ? settings.api_urls.expert :'http://10.47.38.56:8088'; const service = javaFetch(actionUrl); export const httpUrl = actionUrl;