style: format web apps with prettier and sort imports

Apply repo-wide Prettier/lint normalization across admin-web,
desktop-client and ops-web: single quotes, no semicolons, trailing
commas, consistent line wrapping, and import ordering. Also drop an
unused brand-logo import in DesktopShell.vue.

No behavior changes — formatting only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-08 11:56:18 +08:00
parent a44ed21967
commit aa96143754
81 changed files with 2929 additions and 2252 deletions
+22 -6
View File
@@ -29,8 +29,8 @@ import {
import { ApiClientError } from '@geo/http-client'
import type { BrandLibrarySummary, ChangePasswordRequest } from '@geo/shared-types'
import { useMutation, useQuery, useQueryClient } from '@tanstack/vue-query'
import { computed, onBeforeUnmount, onMounted, reactive, ref, type Component, watch } from 'vue'
import { message } from 'ant-design-vue'
import { computed, onBeforeUnmount, onMounted, reactive, ref, watch, type Component } from 'vue'
import { useI18n } from 'vue-i18n'
import { useRoute, useRouter } from 'vue-router'
@@ -389,9 +389,17 @@ const navSections = computed<NavSection[]>(() => {
key: 'authorityMedia',
title: t('nav.authorityMedia'),
items: [
{ key: '/media-supply/resources', label: t('nav.mediaSupplyResources'), icon: BankOutlined },
{
key: '/media-supply/resources',
label: t('nav.mediaSupplyResources'),
icon: BankOutlined,
},
{ key: '/media-supply/orders', label: t('nav.mediaSupplyOrders'), icon: SendOutlined },
{ key: '/media-supply/favorites', label: t('nav.mediaSupplyFavorites'), icon: TagsOutlined },
{
key: '/media-supply/favorites',
label: t('nav.mediaSupplyFavorites'),
icon: TagsOutlined,
},
],
},
{
@@ -623,7 +631,10 @@ onBeforeUnmount(() => {
>
<div class="current-brand-trigger">
<span class="current-brand-trigger__name">{{ currentBrandName }}</span>
<DownOutlined class="current-brand-trigger__arrow" :class="{ 'current-brand-trigger__arrow--open': popoverVisible }" />
<DownOutlined
class="current-brand-trigger__arrow"
:class="{ 'current-brand-trigger__arrow--open': popoverVisible }"
/>
</div>
<template #content>
@@ -641,7 +652,10 @@ onBeforeUnmount(() => {
<TagsOutlined />
</span>
<span class="brand-popover__menu-text">我创建的</span>
<span class="brand-popover__badge" :class="{ 'brand-popover__badge--active': currentFilter === 'created' }">
<span
class="brand-popover__badge"
:class="{ 'brand-popover__badge--active': currentFilter === 'created' }"
>
{{ companyStore.brands.length }}
</span>
</div>
@@ -690,7 +704,9 @@ onBeforeUnmount(() => {
v-for="brand in filteredBrands"
:key="brand.id"
class="brand-popover__item"
:class="{ 'brand-popover__item--active': companyStore.currentBrandId === brand.id }"
:class="{
'brand-popover__item--active': companyStore.currentBrandId === brand.id,
}"
@pointerdown.prevent.stop="selectBrand(brand.id)"
>
<div