Browse Source

Merge pull request 'fix issue' (#1853) from fix-temp_0411 into V20220415

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1853
Reviewed-by: lewis <747342561@qq.com>
tags/v1.22.4.1^2
lewis 3 years ago
parent
commit
fa90050ed7
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