From 800f91bf3fb533c4fa939f0610bb523ebcb6b612 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Wed, 3 Apr 2019 14:55:54 +0800 Subject: [PATCH] status -1 --- public/react/src/context/TPIContextProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/context/TPIContextProvider.js b/public/react/src/context/TPIContextProvider.js index 3206d4f8..2dd9267f 100644 --- a/public/react/src/context/TPIContextProvider.js +++ b/public/react/src/context/TPIContextProvider.js @@ -590,7 +590,7 @@ pop_box_new(htmlvalue, 480, 182); .then((response) => { console.log(response); // TODO status -2 重复操作,直接解锁 - if (response.data.test_sets == -1) { + if (response.data.status == -1 || response.data.test_sets == -1) { console.error('testSetUnlock失败!') this.showSnackbar(response.data.message) return;