From e6d9474df1bc07b196b07c6137f7e423d2222b96 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Tue, 15 Sep 2026 15:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../overseas-warehouse/pages/OutboundsView.selection.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/overseas-warehouse/pages/OutboundsView.selection.test.ts b/src/modules/overseas-warehouse/pages/OutboundsView.selection.test.ts index cac04e81..719c04a0 100644 --- a/src/modules/overseas-warehouse/pages/OutboundsView.selection.test.ts +++ b/src/modules/overseas-warehouse/pages/OutboundsView.selection.test.ts @@ -74,10 +74,10 @@ describe('outbound candidate search and selection', () => { it('searches on query, selects every filtered page, shows partial page selection and clears the selection', async () => { await openCreate() const query = wrapper.findAllComponents(ElInput).find(item => item.props('ariaLabel') === '搜索可出库订单')! - query.vm.$emit('update:modelValue', 'MATCH') + await query.get('input').setValue('MATCH') await flushPromises() expect(wrapper.text()).toContain('全选筛选结果(7)') - await query.trigger('keyup', { key: 'Enter' }) + await query.get('input').trigger('keyup', { key: 'Enter' }) await flushPromises() expect(wrapper.text()).toContain('全选筛选结果(6)') await clickButton('全选筛选结果')