mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
test: attach demo to body (#11246)
This commit is contained in:
parent
9b513311c2
commit
80270138e1
@ -28,6 +28,7 @@ export function snapshotDemo(Demo: any, option: any = {}) {
|
||||
'demo-block': EmptyComponent,
|
||||
},
|
||||
},
|
||||
attachTo: document.body,
|
||||
});
|
||||
|
||||
await later();
|
||||
|
Loading…
x
Reference in New Issue
Block a user