Commit 129ba29f authored by 李硕's avatar 李硕

提交

parent a50ce008
...@@ -89,13 +89,12 @@ class Pageresultscene extends Component { ...@@ -89,13 +89,12 @@ class Pageresultscene extends Component {
againWish() { againWish() {
let { wishLimit, pass } = this.state; let { wishLimit, pass } = this.state;
if (wishLimit) { if (wishLimit) {
if (pass) { if (pass) {
this.setState({ this.setState({
pass: false pass: false
}) })
Toast('今日许愿已达上限,请明日再来~', 2000); Toast('今天已经许愿2次啦,明天再来吧~', 2000);
setTimeout(() => { setTimeout(() => {
this.setState({ this.setState({
pass: true pass: true
......
...@@ -193,7 +193,7 @@ class Pagewishscene extends Component { ...@@ -193,7 +193,7 @@ class Pagewishscene extends Component {
this.setState({ this.setState({
pass: false pass: false
}) })
Toast("不得选择超过五个心愿", 2000); Toast("每天可以许5个愿望,还有别的愿望,明天再来吧~", 2000);
setTimeout(() => { setTimeout(() => {
this.setState({ this.setState({
pass: true pass: true
...@@ -203,7 +203,6 @@ class Pagewishscene extends Component { ...@@ -203,7 +203,6 @@ class Pagewishscene extends Component {
} }
} }
} }
} }
onInputChangeValue() { onInputChangeValue() {
let { chooseList, wishName } = this.state; let { chooseList, wishName } = this.state;
......
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