style(appointments): simplify calendar toolbar and remove redundant heading

This commit is contained in:
2026-10-10 15:38:44 +08:00
parent be2a754342
commit 453549ece1
4 changed files with 34 additions and 23 deletions
@@ -66,7 +66,7 @@ describe('appointment calendar data integration', () => {
const tabs = wrapper.get('[aria-label="预约工作视图"]').findAll('button')
expect(tabs.map(button => button.text())).toEqual(['提柜与到仓', '送仓与排车', '预约日历'])
expect(tabs[0]!.attributes('aria-pressed')).toBe('true')
expect(wrapper.text()).toContain('美国预约总览')
expect(wrapper.text()).not.toContain('美国预约总览')
expect(listFbaAppointmentCalendar).not.toHaveBeenCalled()
expect(listArrivalCalendar).not.toHaveBeenCalled()
await tabs[2]!.trigger('click'); await flushPromises()