chore(header): 移除环境标识徽标

This commit is contained in:
yelan
2026-09-29 21:28:37 +08:00
parent 431084edf4
commit dc94265703
2 changed files with 0 additions and 11 deletions
@@ -56,7 +56,6 @@ onMounted(() => {
</option>
</select>
</label>
<span class="environment-badge">{{ appStore.environment }}</span>
</header>
</template>
@@ -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;
}
</style>
-2
View File
@@ -45,7 +45,6 @@ function getEnabledCampuses(records: CampusRecord[]) {
}
export const useAppStore = defineStore('app', () => {
const environment = ref('接口联调环境')
const campusRecords = ref<CampusRecord[]>(
useMockData ? getEnabledCampuses(mockCampusRecords) : [],
)
@@ -108,7 +107,6 @@ export const useAppStore = defineStore('app', () => {
}
return {
environment,
campuses,
campusRecords,
selectedCampusId,