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<
2222 this . state = {
2323 show : true ,
2424 animElemId,
25- animationData : [ { } ] ,
25+ animationData : {
26+ actions : [ { } ]
27+ } ,
2628 dura : 15 ,
2729 isWEAPP : Taro . getEnv ( ) === Taro . ENV_TYPE . WEAPP ,
2830 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'
22import { CommonEvent } from '@tarojs/components/types/common'
33
44import AtComponent from './base'
@@ -51,7 +51,9 @@ export interface AtNoticeBarProps extends AtComponent {
5151export interface AtNoticeBarState {
5252 show : boolean
5353 animElemId : string
54- animationData : object [ ]
54+ animationData : {
55+ actions : object [ ]
56+ }
5557 dura : number
5658 isWEAPP : boolean
5759 isALIPAY : boolean
You can’t perform that action at this time.
0 commit comments