File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ export default class AtNoticebar extends React.Component<
22
22
this . state = {
23
23
show : true ,
24
24
animElemId,
25
- animationData : [ { } ] ,
25
+ animationData : {
26
+ actions : [ { } ]
27
+ } ,
26
28
dura : 15 ,
27
29
isWEAPP : Taro . getEnv ( ) === Taro . ENV_TYPE . WEAPP ,
28
30
isALIPAY : Taro . getEnv ( ) === Taro . ENV_TYPE . ALIPAY ,
Original file line number Diff line number Diff line change 1
- import { MouseEvent , ComponentClass } from 'react'
1
+ import { ComponentClass } from 'react'
2
2
import { CommonEvent } from '@tarojs/components/types/common'
3
3
4
4
import AtComponent from './base'
@@ -51,7 +51,9 @@ export interface AtNoticeBarProps extends AtComponent {
51
51
export interface AtNoticeBarState {
52
52
show : boolean
53
53
animElemId : string
54
- animationData : object [ ]
54
+ animationData : {
55
+ actions : object [ ]
56
+ }
55
57
dura : number
56
58
isWEAPP : boolean
57
59
isALIPAY : boolean
You can’t perform that action at this time.
0 commit comments