Skip to content

Commit

Permalink
fix(test): swiper spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Nov 6, 2020
1 parent 2398793 commit 7f52dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/taro-components/__tests__/swiper.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './polyfill'
import React from 'react'
import * as assert from 'assert'
import * as sinon from 'sinon'
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components/src/components/swiper/swiper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ let INSTANCE_ID = 0
})
export class Swiper implements ComponentInterface {
private _id = INSTANCE_ID++
private swiper

@Element() el: HTMLElement
@State() swiperWrapper: HTMLElement | null
@State() private swiper: SwiperJS
/**
* 是否显示面板指示点
*/
Expand Down

0 comments on commit 7f52dc5

Please sign in to comment.