From 74de65273644c765e664e53b4a1cee1d1f8909d2 Mon Sep 17 00:00:00 2001 From: "13621160019@163.com" <13621160019@163.com> Date: Wed, 22 Sep 2021 11:35:17 +0800 Subject: [PATCH] updated demo scripts of database --- database/demo-cn/myems_system_db.sql | 2 +- database/demo-de/myems_system_db.sql | 2 +- database/demo-en/myems_system_db.sql | 2 +- web/src/config.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/database/demo-cn/myems_system_db.sql b/database/demo-cn/myems_system_db.sql index 0dbed1b3..924a60a3 100644 --- a/database/demo-cn/myems_system_db.sql +++ b/database/demo-cn/myems_system_db.sql @@ -245,7 +245,7 @@ USE `myems_system_db`; INSERT INTO `myems_system_db`.`tbl_energy_flow_diagrams` (`id`, `name`, `uuid`) VALUES -(1, '低压配电系统', '3ccbc9c6-9575-4212-a63a-a688d1154302'); +(1, '示例能流图', '3ccbc9c6-9575-4212-a63a-a688d1154302'); COMMIT; diff --git a/database/demo-de/myems_system_db.sql b/database/demo-de/myems_system_db.sql index f32c664a..6c0c18fb 100644 --- a/database/demo-de/myems_system_db.sql +++ b/database/demo-de/myems_system_db.sql @@ -246,7 +246,7 @@ USE `myems_system_db`; INSERT INTO `myems_system_db`.`tbl_energy_flow_diagrams` (`id`, `name`, `uuid`) VALUES -(1, '低压配电系统', '3ccbc9c6-9575-4212-a63a-a688d1154302'); +(1, '示例能流图', '3ccbc9c6-9575-4212-a63a-a688d1154302'); COMMIT; diff --git a/database/demo-en/myems_system_db.sql b/database/demo-en/myems_system_db.sql index cab33495..2f2b05d5 100644 --- a/database/demo-en/myems_system_db.sql +++ b/database/demo-en/myems_system_db.sql @@ -246,7 +246,7 @@ USE `myems_system_db`; INSERT INTO `myems_system_db`.`tbl_energy_flow_diagrams` (`id`, `name`, `uuid`) VALUES -(1, '低压配电系统', '3ccbc9c6-9575-4212-a63a-a688d1154302'); +(1, '示例能流图', '3ccbc9c6-9575-4212-a63a-a688d1154302'); COMMIT; diff --git a/web/src/config.js b/web/src/config.js index eb2e9282..d31aeab5 100644 --- a/web/src/config.js +++ b/web/src/config.js @@ -1,8 +1,8 @@ export const version = '1.2.3'; export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint export const topNavbarBreakpoint = 'lg'; -export const APIBaseURL = 'http://127.0.0.1:8000'; -//export const APIBaseURL = window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api"; +//export const APIBaseURL = 'http://127.0.0.1:8000'; +export const APIBaseURL = window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api"; export const settings = { isFluid: true, isRTL: false,