Commit 4390ccf1 authored by 天马流星拳's avatar 天马流星拳

fix: 将严格相等运算符改为宽松相等运算符以兼容状态值类型

parent 8b05eb66
......@@ -79,7 +79,7 @@ class Myqradespage extends React.Component {
<span className="bg"></span>
<span className="back" onClick={() => this.clickBack()}></span>
{
this.state.info.drawStatus === 1 && (
this.state.info.drawStatus == 1 && (
<>
<div className="lottery"></div>
<span className="icon3"></span>
......@@ -88,7 +88,7 @@ class Myqradespage extends React.Component {
)
}
{
this.state.info.drawStatus === 2 && (
this.state.info.drawStatus == 2 && (
<>
<div className="lottery"></div>
<img className='prize-img' src={this.state.info.prizeInfo.prizeImg} alt="" />
......
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