perf(short-drama-agent-front): 优化制作工作台交互与移动端布局

This commit is contained in:
GJ committed 2026-10-10 19:28:47 +08:00
1 parent b5eaed3981
commit 54a381ebd3
37 files changed
+1217 -426

No files matched your search

+2 -2
View File
@@ -925,8 +925,8 @@ describe('工作台页面交互', () => {
const toolbar = wrapper.get('.result-toolbar')
expect(toolbar.find('[aria-label="拆解结果"]').exists()).toBe(true)
expect(toolbar.find(':scope > button').exists()).toBe(false)
expect(toolbar.get('.n-tabs-nav__suffix button').attributes('aria-label')).toBe('拆解更多操作')
await toolbar.get('.n-tabs-nav__suffix button').trigger('click')
expect(toolbar.find('.n-tabs-nav__suffix [aria-label="拆解更多操作"]').exists()).toBe(true)
await toolbar.get('.n-tabs-nav__suffix [aria-label="拆解更多操作"]').trigger('click')
await flushPromises()
const exportItem = [...document.querySelectorAll('.n-dropdown-option-body')].find(
item => item.textContent?.trim() === '导出 JSON'