diff --git a/packages/empty/test/__snapshots__/demo.spec.ts.snap b/packages/empty/test/__snapshots__/demo.spec.ts.snap index 659156ff..6f0fc5ef 100644 --- a/packages/empty/test/__snapshots__/demo.spec.ts.snap +++ b/packages/empty/test/__snapshots__/demo.spec.ts.snap @@ -85,7 +85,7 @@ exports[`should render demo and match snapshot 1`] = ` > { + // waiting transition end + setTimeout(() => { this.setData({ skipTransition: false }); - }); + }, this.data.duration); } }); }, diff --git a/packages/tabs/index.wxml b/packages/tabs/index.wxml index f76dd63f..6fcb57f0 100644 --- a/packages/tabs/index.wxml +++ b/packages/tabs/index.wxml @@ -20,7 +20,7 @@ style="{{ color ? 'border-color: ' + color : '' }}" > - +