From 97d0f4084a315fb455a4ae1a20c28700037f0904 Mon Sep 17 00:00:00 2001 From: wintsa Date: Mon, 18 Mar 2024 15:06:01 +0800 Subject: [PATCH] add apiurl --- .env | 8 +- src/components/apps/Style/index.vue | 4 +- src/components/common/ItemCard/index.vue | 24 +- .../AppIconSystemMonitor/CPU.vue | 1 + .../AppIconSystemMonitor/Disk.vue | 2 + .../AppIconSystemMonitor/Memory.vue | 2 + yarn.lock | 7612 +++++++++++++++++ 7 files changed, 7633 insertions(+), 20 deletions(-) create mode 100644 yarn.lock diff --git a/.env b/.env index 9a7a52f..f17e0a8 100644 --- a/.env +++ b/.env @@ -1,10 +1,14 @@ # Glob API URL VITE_GLOB_API_URL=/api -VITE_APP_API_BASE_URL=http://127.0.0.1:3002/ - +# VITE_APP_API_BASE_URL=http://127.0.0.1:3002/ +VITE_APP_API_BASE_URL=http://sunpaneldemo.enianteam.com # Whether long replies are supported, which may result in higher API fees VITE_GLOB_OPEN_LONG_REPLY=false # When you want to use PWA VITE_GLOB_APP_PWA=false + + + +VITE_APP_VERSION=20240318 \ No newline at end of file diff --git a/src/components/apps/Style/index.vue b/src/components/apps/Style/index.vue index 07abccb..1afc9dd 100644 --- a/src/components/apps/Style/index.vue +++ b/src/components/apps/Style/index.vue @@ -249,7 +249,9 @@ function resetPanelConfig() { {{ $t('apps.baseSettings.maxWidth') }}
- + + +
diff --git a/src/components/common/ItemCard/index.vue b/src/components/common/ItemCard/index.vue index 214688e..1a4ef4a 100644 --- a/src/components/common/ItemCard/index.vue +++ b/src/components/common/ItemCard/index.vue @@ -20,33 +20,23 @@ const propClass = ref(props.class)