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
@@ -14,8 +14,7 @@ export const BAIJIAHAO_CHALLENGE_REQUIRED_MESSAGE =
'百家号检测到网络环境异常,需要人机验证。请打开百家号后台手动完成一次发稿或验证后再重试发布。'
export const DONGCHEDI_PLATFORM_EXCEPTION_MESSAGE =
'懂车帝平台返回异常,请打开懂车帝后台查看并处理平台提示,确认账号状态后再重试。'
export const PUBLISH_IMAGE_FETCH_FAILED_MESSAGE =
'图片获取错误,请检查你文章和封面图片是否正确'
export const PUBLISH_IMAGE_FETCH_FAILED_MESSAGE = '图片获取错误,请检查你文章和封面图片是否正确'
const PUBLISH_PLATFORM_LABELS: Record<string, string> = {
baijiahao: '百家号',
@@ -68,10 +67,7 @@ export function normalizeDesktopAccountErrorMessage(
return null
}
const sessionExpiredPlatform = errorPlatformSuffix(
normalized,
'desktop_account_session_expired',
)
const sessionExpiredPlatform = errorPlatformSuffix(normalized, 'desktop_account_session_expired')
if (sessionExpiredPlatform !== null) {
const platformLabel = translatePublisherPlatform(sessionExpiredPlatform || platform)
return `${platformLabel}登录态已失效,请重新授权后再试。`