From ba1a5c11c591c2e3fb99dce186cdb236a1a8a4e6 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Mon, 28 Nov 2022 17:07:04 +0800 Subject: [PATCH] fix issue --- templates/repo/debugjob/index.tmpl | 4 +++- web_src/js/features/cloudrbanin.js | 1 + web_src/vuepages/pages/notebook/debug/index.vue | 17 +++++++++-------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/templates/repo/debugjob/index.tmpl b/templates/repo/debugjob/index.tmpl index 2d7b193f1..7345fa9bc 100755 --- a/templates/repo/debugjob/index.tmpl +++ b/templates/repo/debugjob/index.tmpl @@ -296,7 +296,9 @@ + data-jobid="{{.Cloudbrain.ID}}" + {{if .BootFile}}data-bootfile="{{.BootFile}}"{{end}}> + {{$.i18n.Tr "repo.stop"}} {{else}} diff --git a/web_src/js/features/cloudrbanin.js b/web_src/js/features/cloudrbanin.js index 24d864694..3781ce5f4 100644 --- a/web_src/js/features/cloudrbanin.js +++ b/web_src/js/features/cloudrbanin.js @@ -308,6 +308,7 @@ export default async function initCloudrain() { .addClass(res.status); $("#" + ID + "-text").text(res.status); if (res.status === "STOPPED") { + console.log(bootFile) if (!bootFile) { $("#ai-debug-" + ID) .removeClass("disabled") diff --git a/web_src/vuepages/pages/notebook/debug/index.vue b/web_src/vuepages/pages/notebook/debug/index.vue index 0d4cc0f85..b1dce19ab 100644 --- a/web_src/vuepages/pages/notebook/debug/index.vue +++ b/web_src/vuepages/pages/notebook/debug/index.vue @@ -67,7 +67,7 @@
- +
- + this.selectIndex){ - this.slideActive = true + } + console.log(index,this.selectIndex) + if(index>this.selectIndex && this.selectIndex!==1){ + this.slideActive = true + }else if(index{ - if(res.data.code==0){ this.notebookInfo = res.data }else{