fix: 合并图库镜头定位与筛选工具栏并统一对齐

This commit is contained in:
GouJ committed 2026-09-04 10:40:19 +08:00
1 parent 37f11911b1
commit 543c85ff43
5 files changed
+81 -33

No files matched your search

+3
View File
@@ -817,6 +817,9 @@ describe('工作台页面交互', () => {
vi.stubGlobal('fetch', fetcher)
await mountSubjectImages()
const filters = wrapper!.get('.form-image-filters')
expect(wrapper!.get('.form-image-toolbar').classes()).not.toContain('has-impact-picker')
expect(filters.element.parentElement).toBe(wrapper!.get('.form-image-toolbar').element)
expect(wrapper!.findAll('.form-image-filters')).toHaveLength(1)
expect(filters.get('.filter-result-count').text()).toBe('2 个形态')
expect(filters.find('input[aria-label="搜索形态图片"]').exists()).toBe(true)
expect(filters.findAll('.filter-toggles [role="checkbox"]')).toHaveLength(2)