Commit aefc8aa3 authored by 天马流星拳's avatar 天马流星拳

fix: 移除答题成功后延迟关闭面板的逻辑

立即执行任务查询和索引更新,避免不必要的延迟
parent 3bcc3fcb
......@@ -72,10 +72,10 @@ class AnswerPanel extends React.Component {
startId: this.startId,
})
if (success) {
setTimeout(() => {
this.handleClose();
ModalCtrl.showModal(AnswerPrizePanel, data.options[0] || {});
}, 2000)
// setTimeout(() => {
// this.handleClose();
// ModalCtrl.showModal(AnswerPrizePanel, data.options[0] || {});
// }, 2000)
taskStore.queryTaskInfo();
store.updateIndex();
}
......
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