From dc94265703dd56074157bedaa0d8176e36d7da42 Mon Sep 17 00:00:00 2001 From: yelan Date: Tue, 29 Sep 2026 21:28:37 +0800 Subject: [PATCH] =?UTF-8?q?chore(header):=20=E7=A7=BB=E9=99=A4=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E6=A0=87=E8=AF=86=E5=BE=BD=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clinical-web/src/components/layout/Header.vue | 9 --------- clinical-web/src/stores/app.ts | 2 -- 2 files changed, 11 deletions(-) diff --git a/clinical-web/src/components/layout/Header.vue b/clinical-web/src/components/layout/Header.vue index 3e4ba82..cabe0a8 100644 --- a/clinical-web/src/components/layout/Header.vue +++ b/clinical-web/src/components/layout/Header.vue @@ -56,7 +56,6 @@ onMounted(() => { - {{ appStore.environment }} @@ -121,12 +120,4 @@ onMounted(() => { border-radius: 6px; } -.environment-badge { - flex-shrink: 0; - padding: 3px 8px; - color: var(--warn); - font-size: 11px; - background: var(--warn-l); - border-radius: 20px; -} diff --git a/clinical-web/src/stores/app.ts b/clinical-web/src/stores/app.ts index 60c2852..7beb71b 100644 --- a/clinical-web/src/stores/app.ts +++ b/clinical-web/src/stores/app.ts @@ -45,7 +45,6 @@ function getEnabledCampuses(records: CampusRecord[]) { } export const useAppStore = defineStore('app', () => { - const environment = ref('接口联调环境') const campusRecords = ref( useMockData ? getEnabledCampuses(mockCampusRecords) : [], ) @@ -108,7 +107,6 @@ export const useAppStore = defineStore('app', () => { } return { - environment, campuses, campusRecords, selectedCampusId,