mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
test(components): [button] change slot mode (#14823)
This commit is contained in:
@@ -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>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user