Commit c906b971 by zeven

修复刷脸进门重复点击问题

parent 958b24fc
......@@ -322,6 +322,11 @@ class FacePage extends Component {
};
face = async () => {
if (this.faceWait) return;
this.faceWait = true; // 防止重复点击
setTimeout(() => {
this.faceWait = false;
}, 5000);
await this.setState({
tipsModal: false,
goTipsModal: false,
......
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