From 2e66f4f347d41f926a6aa48c3be78931c515b537 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Tue, 7 Jan 2025 19:02:04 +0800 Subject: [PATCH] update --- src/App.vue | 77 +++++++++------------- .../ServiceConfigurationStatusViewer.vue | 10 ++- src/utils/ApiClient.js | 2 +- 3 files changed, 36 insertions(+), 53 deletions(-) diff --git a/src/App.vue b/src/App.vue index 29288c0..892fd1c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,25 +1,21 @@ + + \ No newline at end of file diff --git a/src/components/ServiceConfigurationStatusViewer.vue b/src/components/ServiceConfigurationStatusViewer.vue index 6ad8087..28b4faa 100644 --- a/src/components/ServiceConfigurationStatusViewer.vue +++ b/src/components/ServiceConfigurationStatusViewer.vue @@ -11,13 +11,11 @@ -

{{item.value}}

+

{{ item.value }}

diff --git a/src/utils/ApiClient.js b/src/utils/ApiClient.js index 52dd11b..b19f18c 100644 --- a/src/utils/ApiClient.js +++ b/src/utils/ApiClient.js @@ -18,7 +18,7 @@ export default class ApiClient { async call( name, params={} ) { let response = await axios({ method: 'post', - url: process.env.NODE_ENV === 'production' ? `/api/${name}` : `http://localhost:8080/api/${name}`, + url: process.env.NODE_ENV === 'production' ? `/api/${name}` : `http://localhost:80/api/${name}`, data: params }); if ( !response.data.success ) {