答题奖励规则

This commit is contained in:
ronger 2021-02-20 16:55:43 +08:00
parent e6730d4011
commit 0d91b38fca

View File

@ -89,13 +89,11 @@ export default {
answer: _ts.answer
}).then(function (res) {
if (res) {
if (res.respFlag) {
_ts.$message(res.message);
_ts.$store.dispatch('answer/fetchDetail');
_ts.$message.success('回答正确!');
} else {
_ts.$message(res.message);
}
_ts.$message.error('回答错误!');
}
_ts.$store.dispatch('answer/fetchDetail');
})
}
},