Browse Source

fix issue

tags/v1.22.7.1
zhoupzh 3 years ago
parent
commit
da945412df
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      templates/custom/wait_count_train.tmpl
  2. +2
    -0
      web_src/js/features/cloudrbanin.js

+ 1
- 1
templates/custom/wait_count_train.tmpl View File

@@ -16,7 +16,7 @@
class="ri-error-warning-line"
style="margin-right: 0.5rem; font-size: 16px"
></i>
<span
<span id="gpu-nums"
>{{.ctx.i18n.Tr "repo.wait_count_start"}}
{{if .type}}
{{ $gpuQueue }}


+ 2
- 0
web_src/js/features/cloudrbanin.js View File

@@ -509,6 +509,8 @@ export default async function initCloudrain() {
$(".ui.search.dropdown.gpu-type").dropdown({
onChange: function (value, text, $selectedItem) {
let gpuTypeNums = test.get(value);
console.log("gpuType:", value);
console.log("gpuTypeNums:", gpuTypeNums);
let gpuTypeNumString =
$(".cloudbrain-type").data("queue-start") +
" " +


Loading…
Cancel
Save