From fd465c376d296a106efe4e2030b06fdf1b521e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 27 Dec 2019 19:25:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/tpm/TPMsettings/Configuration.js | 4 +--- public/react/src/modules/tpm/jupyter/index.js | 19 ++++++++++--------- .../react/src/modules/tpm/jupyter/index.scss | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/public/react/src/modules/tpm/TPMsettings/Configuration.js b/public/react/src/modules/tpm/TPMsettings/Configuration.js index bd93fa4e5..f48314261 100644 --- a/public/react/src/modules/tpm/TPMsettings/Configuration.js +++ b/public/react/src/modules/tpm/TPMsettings/Configuration.js @@ -164,7 +164,7 @@ export default class Shixuninformation extends Component { axios.post(url, { - scope_partment: list, + scope_partment:use_scope===0?undefined:list, shixun: { can_copy: can_copy, use_scope: use_scope, @@ -213,7 +213,6 @@ export default class Shixuninformation extends Component { if(scope_partment.length>0){ scope_partment.map((item, key) => { if (item === e) { - debugger scopetype = true } }) @@ -222,7 +221,6 @@ export default class Shixuninformation extends Component { if(oldscope_partment.length>0){ oldscope_partment.map((item, key) => { if (item === e) { - debugger scopetype = true } }) diff --git a/public/react/src/modules/tpm/jupyter/index.js b/public/react/src/modules/tpm/jupyter/index.js index 702ae2b71..feaa27e49 100644 --- a/public/react/src/modules/tpm/jupyter/index.js +++ b/public/react/src/modules/tpm/jupyter/index.js @@ -219,7 +219,6 @@ function JupyterTPI (props) { title: '重置环境', content: (
- 你在本文件中修改的内容将丢失,
是否确定重置环境?