#1531 云脑1数据集上传页面,切换排序方式后,上传的文件到云脑2了

Merged
liuzx merged 2 commits from fix-1484 into V20220228 2 years ago
  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