Browse Source

fix issue

tags/v1.22.2.2^2
zhoupzh 3 years ago
parent
commit
6b069cf3ef
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