From ef7dab984048da2902c302ddff93dd27411d22f7 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Mon, 11 Apr 2022 17:38:49 +0800 Subject: [PATCH] fix issue --- web_src/js/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index 8cbf86fb2..7df46e139 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -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},