test(Grid): update test cases

This commit is contained in:
chenjiahan
2020-12-01 21:08:25 +08:00
parent e49bee2964
commit ba11e3f249
5 changed files with 99 additions and 101 deletions

View File

@@ -8,7 +8,7 @@ Locale.use('en-US', enUS);
const EmptyComponent = {
render() {
return h('div', [(this as any).$slots.default()]);
return h('div', [this.$slots.default()]);
},
inheritAttrs: false,
};
@@ -28,7 +28,6 @@ export function snapshotDemo(Demo: any, option: any = {}) {
mixins: [DemoLocaleMixin],
components: {
'demo-block': EmptyComponent,
'demo-section': EmptyComponent,
},
plugins: [(window as any).vant],
},