mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
fix: 修复请求详情抽屉的默认状态问题
- viewMode 默认改为 formatted,避免按钮被禁用 - currentExpandDepth 默认改为 0,与收缩状态一致
This commit is contained in:
@@ -557,8 +557,8 @@ const error = ref<string | null>(null)
|
|||||||
const detail = ref<RequestDetail | null>(null)
|
const detail = ref<RequestDetail | null>(null)
|
||||||
const activeTab = ref('request-body')
|
const activeTab = ref('request-body')
|
||||||
const copiedStates = ref<Record<string, boolean>>({})
|
const copiedStates = ref<Record<string, boolean>>({})
|
||||||
const viewMode = ref<'compare' | 'formatted' | 'raw'>('compare')
|
const viewMode = ref<'compare' | 'formatted' | 'raw'>('formatted')
|
||||||
const currentExpandDepth = ref(1)
|
const currentExpandDepth = ref(0)
|
||||||
const dataSource = ref<'client' | 'provider'>('client')
|
const dataSource = ref<'client' | 'provider'>('client')
|
||||||
const contentViewMode = ref<'json' | 'conversation'>('json')
|
const contentViewMode = ref<'json' | 'conversation'>('json')
|
||||||
const { copyToClipboard } = useClipboard()
|
const { copyToClipboard } = useClipboard()
|
||||||
|
|||||||
Reference in New Issue
Block a user