Browse Source

fix issue

tags/v1.22.7.1
zhoupzh 3 years ago
parent
commit
0fc14efeef
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      web_src/js/features/cloudrbanin.js

+ 6
- 1
web_src/js/features/cloudrbanin.js View File

@@ -458,10 +458,15 @@ export default async function initCloudrain() {
});

function setWaitNums() {
console.log($(".cloudbrain-type"));
if ($(".cloudbrain-type").length === 0 && $(".gpu-type").length === 0) {
return;
}
if (
$(".cloudbrain-type").length !== 0 &&
!$(".cloudbrain-type").data("queue")
) {
return;
}
let waitNums = $(".cloudbrain-type").data("queue").split("map")[1];
let test = new Map();
let waitNumsArray = waitNums.split(" ");


Loading…
Cancel
Save