Commit e1759b46 authored by haiyoucuv's avatar haiyoucuv

init

parent 121e4bbb
......@@ -24,6 +24,7 @@ class ObtainPanel extends React.Component<IObtainPanelProps> {
};
clickGet = () => {
ModalCtrl.closeModal();
};
......@@ -37,7 +38,7 @@ class ObtainPanel extends React.Component<IObtainPanelProps> {
<div className={styles.tip}>恭喜获得{creditNum}积分</div>
<div className={classNames({
[styles.exp]: isExp,
[styles.expansion]: isExp,
[styles.normal]: !isExp,
})}/>
......
......@@ -59,9 +59,9 @@ class VideoPanel extends React.Component<IVideoPanelProps> {
clickClose = () => {
ModalCtrl.closeModal();
if (this.completeData?.creditsNum) {
if (this.completeData?.creditNum) {
ModalCtrl.showModal(ObtainPanel, {
creditsNum: this.completeData.creditsNum,
creditNum: this.completeData.creditNum,
isExp: this.props.isExp,
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment