diff --git a/public/react/src/modules/tpm/jupyter/leftPane/index.js b/public/react/src/modules/tpm/jupyter/leftPane/index.js
index 0af5b3f96..957f9c391 100644
--- a/public/react/src/modules/tpm/jupyter/leftPane/index.js
+++ b/public/react/src/modules/tpm/jupyter/leftPane/index.js
@@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-12-12 10:34:03
* @LastEditors: tangjiang
- * @LastEditTime: 2019-12-13 15:31:35
+ * @LastEditTime: 2019-12-13 16:04:31
*/
import './index.scss';
import React, { useState, useEffect } from 'react';
@@ -36,7 +36,7 @@ function LeftPane (props) {
const oList = dataSets.map((item, i) => {
return (
-
+
{item.title}
diff --git a/public/react/src/services/jupyterServer.js b/public/react/src/services/jupyterServer.js
index 3c14b4b45..6ee5ec828 100644
--- a/public/react/src/services/jupyterServer.js
+++ b/public/react/src/services/jupyterServer.js
@@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-12-12 09:07:07
* @LastEditors: tangjiang
- * @LastEditTime: 2019-12-13 14:30:51
+ * @LastEditTime: 2019-12-13 16:00:45
*/
import axios from 'axios';
@@ -15,7 +15,7 @@ export async function fetchJupyterInfo (identifier) {
}
// 获取数据集
export async function fetchJupyterTpiDataSet (identifier, params) {
- const url = `/shixuns/${identifier}/jupyter_data_sets.json`;
+ const url = `/shixuns/${identifier}/get_data_sets.json`;
return axios.get(url, { params });
}
// 获取 tpi url