From 9bcbad5ee3845ca813497a9613ea9993cf6aafc1 Mon Sep 17 00:00:00 2001
From: huliang <1539398430@qq.com>
Date: Thu, 13 Nov 2025 16:14:17 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AA=BF=E6=95=B4=E5=81=B4=E9=82=8A=E6=AC=84?=
=?UTF-8?q?=E5=AF=AC=E5=BA=A6=E3=80=81=E6=9B=B4=E6=96=B0=E9=BA=B5=E5=8C=85?=
=?UTF-8?q?=E5=B1=91=E7=B5=84=E4=BB=B6=E3=80=81=E4=BF=AE=E6=94=B9=E6=A8=99?=
=?UTF-8?q?=E9=A1=8C=E9=A1=AF=E7=A4=BA=E5=8F=8A=E6=A8=A3=E5=BC=8F=EF=BC=8C?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=20Vite=20=E9=85=8D=E7=BD=AE=E4=BB=A5?=
=?UTF-8?q?=E8=A8=AD=E5=AE=9A=E8=BC=B8=E5=87=BA=E7=9B=AE=E9=8C=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +-
src/components/Common/Breadcrumb.vue | 3 +
src/components/Navbar.vue | 2 +-
src/components/Sidebar.vue | 4 +-
src/views/PlantsOverview copy.vue | 333 ---------------------------
vite.config.js | 4 +
6 files changed, 11 insertions(+), 337 deletions(-)
delete mode 100644 src/views/PlantsOverview copy.vue
diff --git a/src/App.vue b/src/App.vue
index 5162496..faa0f67 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -34,7 +34,7 @@ onUnmounted(() => {
-
+
diff --git a/src/components/Common/Breadcrumb.vue b/src/components/Common/Breadcrumb.vue
index b82ae72..aed7848 100644
--- a/src/components/Common/Breadcrumb.vue
+++ b/src/components/Common/Breadcrumb.vue
@@ -3,6 +3,9 @@
separator="/"
style="margin: 15px 10px; font-size: 1.05rem; opacity: 0.9"
>
+
+ 工控運維管理平台
+
-
工控運維管理平台
+
diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index 1c99064..94db2c8 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -11,7 +11,7 @@
結元能源
@@ -111,7 +111,7 @@ const activeMenuIndex = computed(() => {
.title-area {
display: flex;
align-items: center;
- justify-content: center;
+ justify-content: start;
padding: 20px;
gap: 10px;
font-size: 1.8rem;
diff --git a/src/views/PlantsOverview copy.vue b/src/views/PlantsOverview copy.vue
deleted file mode 100644
index bc1805e..0000000
--- a/src/views/PlantsOverview copy.vue
+++ /dev/null
@@ -1,333 +0,0 @@
-
-
-
-
-
-
- 電廠總覽
-
-
-
-
- 全選
- 新北市
- 1
-
- 宜蘭縣
- 2
-
-
-
-
-
- 全選
-
- 設備正常
-
-
-
- 設備斷線
-
-
-
- 設備斷線
-
-
-
-
-
-
- 排序條件
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
{{ plant.name }}
-
- {{ plant.temp }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/vite.config.js b/vite.config.js
index 278c44e..c07e45d 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -7,6 +7,10 @@ import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
// https://vite.dev/config/
export default defineConfig({
base: "./",
+ build: {
+ outDir: "../dist",
+ emptyOutDir: true,
+ },
plugins: [
vue(),
AutoImport({