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:
@@ -1181,15 +1181,13 @@ async function maybeRevealDeepSeekReasoningSearchSources(page: PlaywrightPage):
|
||||
const text = normalize(value)
|
||||
return Boolean(
|
||||
text &&
|
||||
(/^搜索到\s*\d+\s*个网页$/i.test(text) ||
|
||||
/^(?:found|searched)\s*\d+\s*(?:web\s*pages?|webpages?)$/i.test(text)),
|
||||
(/^搜索到\s*\d+\s*个网页$/i.test(text) ||
|
||||
/^(?:found|searched)\s*\d+\s*(?:web\s*pages?|webpages?)$/i.test(text)),
|
||||
)
|
||||
}
|
||||
const isReasoningNode = (node: HTMLElement): boolean => {
|
||||
if (
|
||||
node.closest(
|
||||
".ds-think-content, [class*='think-content'], [class*='reasoning-content']",
|
||||
)
|
||||
node.closest(".ds-think-content, [class*='think-content'], [class*='reasoning-content']")
|
||||
) {
|
||||
return true
|
||||
}
|
||||
@@ -2832,9 +2830,7 @@ export const deepseekAdapter: MonitorAdapter = {
|
||||
)
|
||||
if (revealedSearchPanelLinks.length === 0) {
|
||||
await maybeRevealDeepSeekReasoningSearchSources(page).catch(() => undefined)
|
||||
revealedSearchPanelLinks = await collectDeepSeekSearchResultsPanelLinks(page).catch(
|
||||
() => [],
|
||||
)
|
||||
revealedSearchPanelLinks = await collectDeepSeekSearchResultsPanelLinks(page).catch(() => [])
|
||||
}
|
||||
const finalSnapshot = await readDeepSeekPageSnapshot(page, questionText).catch(
|
||||
() => waitResult.finalSnapshot,
|
||||
|
||||
Reference in New Issue
Block a user