|
|
|
|
@ -350,7 +350,7 @@ var Jupyter = function Jupyter(_ref) {
|
|
|
|
|
};
|
|
|
|
|
var handleSaveTPM = /*#__PURE__*/function () {
|
|
|
|
|
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
|
|
|
|
var res;
|
|
|
|
|
var res, jurl;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
|
|
|
|
while (1) switch (_context2.prev = _context2.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
@ -364,6 +364,11 @@ var Jupyter = function Jupyter(_ref) {
|
|
|
|
|
res = _context2.sent;
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
message/* default.success */.ZP.success('保存成功!');
|
|
|
|
|
jurl = jupyterUrl;
|
|
|
|
|
setJupyterUrl("");
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
setJupyterUrl(jurl);
|
|
|
|
|
}, 100);
|
|
|
|
|
} else {
|
|
|
|
|
message/* default.info */.ZP.info(res.message);
|
|
|
|
|
}
|
|
|
|
|
|