Browse Source

Merge pull request '云脑1数据集上传页面,切换排序方式后,上传的文件到云脑2了' (#1531) from fix-1484 into V20220228

tags/v1.22.2.2^2
liuzx 4 years ago
parent
commit
97c7f17020
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      templates/repo/datasets/index.tmpl

+ 2
- 3
templates/repo/datasets/index.tmpl View File

@@ -11,9 +11,8 @@
{{template "repo/header" .}}
<script>
$(document).ready(function() {
url = window.location.href
type = url.split('?type=')[1]
if (type == 0){
const params = new URLSearchParams(window.location.search);
if (params.get('type') == 0){
$('.contorl_component').attr("id", 'minioUploader')
}else{
$('.contorl_component').attr("id", 'obsUploader')


Loading…
Cancel
Save