mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
test: attach demo to body (#11246)
This commit is contained in:
@@ -28,6 +28,7 @@ export function snapshotDemo(Demo: any, option: any = {}) {
|
||||
'demo-block': EmptyComponent,
|
||||
},
|
||||
},
|
||||
attachTo: document.body,
|
||||
});
|
||||
|
||||
await later();
|
||||
|
Reference in New Issue
Block a user