diff --git a/Scripts/version.txt b/Scripts/version.txt index b3a9566..5e07d80 100644 --- a/Scripts/version.txt +++ b/Scripts/version.txt @@ -1 +1 @@ -1.0.1-2510091042 +1.0.2-2510091649 diff --git a/src/apis/graph/api.js b/src/apis/graph/api.js index 427ae7c..0cee6a8 100644 --- a/src/apis/graph/api.js +++ b/src/apis/graph/api.js @@ -1,5 +1,8 @@ -// graph -const BASEURL = import.meta.env.VITE_API_BASEURL; +// 本地開發 BASEURL +// const BASEURL = import.meta.env.VITE_API_BASEURL; +// docker 部屬 BASEURL (兩者視部屬方式擇一保留) +const BASEURL = window.env?.VITE_API_BASEURL; + export const GET_GRAPH_SIDEBAR_API = `/GraphManage/GraphManageTreeList`; export const UPDATE_GRAPH_SIDEBAR_API = `/GraphManage/EditGraphManageTree`; diff --git a/src/apis/history/api.js b/src/apis/history/api.js index 64de717..ea1fe7a 100644 --- a/src/apis/history/api.js +++ b/src/apis/history/api.js @@ -1,5 +1,9 @@ // history -const BASEURL = import.meta.env.VITE_API_BASEURL; +// 本地開發 BASEURL +// const BASEURL = import.meta.env.VITE_API_BASEURL; +// docker 部屬 BASEURL (兩者視部屬方式擇一保留) +const BASEURL = window.env?.VITE_API_BASEURL; + export const GET_HISTORY_SIDEBAR_API = `/api/History/GetDeviceInfo`; export const GET_HISTORY_POINT_API = `/api/History/GetAllDevPoi`; export const GET_HISTORY_DATA_API = `/api/History/GetHistoryData`; diff --git a/src/components/forge/Forge.vue b/src/components/forge/Forge.vue index e55b62d..6c0ede0 100644 --- a/src/components/forge/Forge.vue +++ b/src/components/forge/Forge.vue @@ -1,7 +1,10 @@