Commit 29aecaab by 黄日华

调整付款后弹窗时间

parent 2146f14a
...@@ -487,10 +487,10 @@ const CounterMixins = ComposeComponent => { ...@@ -487,10 +487,10 @@ const CounterMixins = ComposeComponent => {
this.setState({voiceModal: true, voiceTitle: msg}); this.setState({voiceModal: true, voiceTitle: msg});
Speech.speak(msg); Speech.speak(msg);
this.storeSetting(goodsArr); this.storeSetting(goodsArr);
setTimeout(() => { await wait(1500);
this.clearList(); this.onLucky();
this.onLucky(); await wait(1500);
}, 3000); this.clearList();
}; };
storeSetting = async printer => { storeSetting = async printer => {
...@@ -557,7 +557,7 @@ const CounterMixins = ComposeComponent => { ...@@ -557,7 +557,7 @@ const CounterMixins = ComposeComponent => {
clearTimeout(this.leaveModalTimeout); clearTimeout(this.leaveModalTimeout);
this.leaveModalTimeout = setTimeout(() => { this.leaveModalTimeout = setTimeout(() => {
this.setState({cloudFinishModal: false}); this.setState({cloudFinishModal: false});
}, 10000); }, 12000);
} }
}; };
......
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