Browse Source

fix issue

tags/v1.22.4.1^2
zhoupzh 3 years ago
parent
commit
ef7dab9840
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      web_src/js/index.js

+ 2
- 3
web_src/js/index.js View File

@@ -2766,11 +2766,10 @@ $(document).ready(async () => {

// Dropzone
const $dropzone = $('#dropzone');
let maxFileTooltips=$dropzone.data('max-file-tooltips').format($dropzone.data('max-file'),$dropzone.data('max-size'))
let maxSizeTooltips=$dropzone.data('max-size-tooltips').format($dropzone.data('max-file'))
if ($dropzone.length > 0) {
const filenameDict = {};

let maxFileTooltips=$dropzone.data('max-file-tooltips').format($dropzone.data('max-file'),$dropzone.data('max-size'))
let maxSizeTooltips=$dropzone.data('max-size-tooltips').format($dropzone.data('max-file'))
await createDropzone('#dropzone', {
url: $dropzone.data('upload-url'),
headers: {'X-Csrf-Token': csrf},


Loading…
Cancel
Save