dev_forum
hjm 6 years ago
parent 4b66258c33
commit e5638bbeb8

@ -714,7 +714,7 @@ pop_box_new(htmlvalue, 480, 182);
}
testSetUnlock() {
const { game } = this.state;
const { game, challenge } = this.state;
const url = `/tasks/${game.identifier}/check_test_sets.json`
axios.get(url, {
// withCredentials: true,
@ -727,7 +727,7 @@ pop_box_new(htmlvalue, 480, 182);
return;
} else {
// 被扣除的金币,是负数
const deltaScore = response.data.score;
const deltaScore = -challenge.score * 5;
// output_sets
let { output_sets } = this.state;
output_sets = Object.assign({}, output_sets);

Loading…
Cancel
Save