test(components): [button] change slot mode (#14823)

This commit is contained in:
sleepyShen1989
2023-11-18 16:47:34 +08:00
committed by GitHub
parent 465f6d4140
commit 74bfbefc28

View File

@@ -267,7 +267,11 @@ describe('Button Group', () => {
setup: () => () =>
(
<Form size="large" disabled>
<Button>{{ AXIOM }}</Button>
<Button
v-slots={{
default: () => AXIOM,
}}
/>
</Form>
),
})
@@ -284,7 +288,11 @@ describe('Button Group', () => {
(
<Form size="large" disabled>
<Form.FormItem size="small">
<Button>{{ AXIOM }}</Button>
<Button
v-slots={{
default: () => AXIOM,
}}
/>
</Form.FormItem>
</Form>
),