You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My vue component class named AudioBarChart,and extends a mixin component class named MaleonComponentMixin,the same time,i define a function decorator named RestTimerDecorator, in the RestTimerDecorator i called the mixin component class's method named resetDataTimer.
When i use RestTimerDecorator in component class AudioBarChart's method updateData,
but when call updateData method, RestTimerDecorator inside report a error: "TypeError: target.resetDataTimer is not a function"
the decorator's target not contains it's parent class property ?
Environment version:
vue @2.6.13
vue-class-component @7.2.3
vue-property-decorator @9.1.2
typescript @4.1.5
Description:
My vue component class named AudioBarChart,and extends a mixin component class named MaleonComponentMixin,the same time,i define a function decorator named RestTimerDecorator, in the RestTimerDecorator i called the mixin component class's method named resetDataTimer.
When i use RestTimerDecorator in component class AudioBarChart's method updateData,
but when call updateData method, RestTimerDecorator inside report a error: "TypeError: target.resetDataTimer is not a function"
the decorator's target not contains it's parent class property ?
The text was updated successfully, but these errors were encountered: