From 61cca9b1c2ef3c257496224b58a6ade0eb792540 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 27 Jun 2019 17:11:55 +0800 Subject: [PATCH] check_test --- public/react/src/context/TPIContextProvider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/context/TPIContextProvider.js b/public/react/src/context/TPIContextProvider.js index b332c50a8..9f384cfe1 100644 --- a/public/react/src/context/TPIContextProvider.js +++ b/public/react/src/context/TPIContextProvider.js @@ -715,9 +715,9 @@ pop_box_new(htmlvalue, 480, 182); testSetUnlock() { const { game } = this.state; - const url = `/v1/games/${game.identifier}/check_test_sets.json` + const url = `/tasks/${game.identifier}/check_test_sets.json` axios.get(url, { - withCredentials: true, + // withCredentials: true, }) .then((response) => { // TODO status -2 重复操作,直接解锁