Browse Source

Merge pull request '项目-云脑页面点击点赞后,云脑任务类型下拉框的值变成了false' (#1527) from fix-1466 into V20220228

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1527
Reviewed-by: wangjr <wangjr@pcl.ac.cn>
pull/1531/head
wangjr 3 years ago
parent
commit
01aa290102
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/debugjob/index.tmpl

+ 2
- 2
templates/repo/debugjob/index.tmpl View File

@@ -490,11 +490,11 @@

<script>
// 调试和评分新开窗口
console.log({{.Tasks}})
const {AppSubUrl, StaticUrlPrefix, csrf} = window.config;
let url={{.RepoLink}}
let getParam=getQueryVariable('debugListType')
let dropdownValue = getParam==='all'||getParam==='' ? '全部' : getParam
let dropdownValue = ['all','',false].includes(getParam)? '全部' : getParam
localStorage.setItem('all',location.href)
function getQueryVariable(variable)
{


Loading…
Cancel
Save