From 89c2780d5c80e820990f0877a8ee0e8e4aea6b23 Mon Sep 17 00:00:00 2001 From: yaoba <7156147@qq.com> Date: Mon, 7 Aug 2023 16:41:05 +0800 Subject: [PATCH] =?UTF-8?q?multiple=3Dtrue=E5=8A=A0=E9=94=99=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E4=BB=A5=E5=8F=8A=E5=85=B6=E5=AE=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dialogs/wordimage/wordimage.html | 4 ++-- dialogs/wordimage/wordimage.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dialogs/wordimage/wordimage.html b/dialogs/wordimage/wordimage.html index 4df2162..64c1464 100755 --- a/dialogs/wordimage/wordimage.html +++ b/dialogs/wordimage/wordimage.html @@ -97,7 +97,7 @@
- +
复制路径
@@ -105,7 +105,7 @@
本地选择保存
- +
diff --git a/dialogs/wordimage/wordimage.js b/dialogs/wordimage/wordimage.js index 08c8604..ef531d1 100755 --- a/dialogs/wordimage/wordimage.js +++ b/dialogs/wordimage/wordimage.js @@ -72,11 +72,11 @@ function showLocalPath(id) { g(id).value = path; //增提醒用户选择哪些文件 var names = []; - for (let i = 0, len = images.length; i < len; i++) { + for (var i = 0, len = images.length; i < len; i++) { var img = images[i]; names.push(img.substring(img.lastIndexOf(separater) + 1, img.length)); } - $('.image-tip').html('请选择:' + names.join("、") + "共" + images.length + '个文件'); + $('.image-tip').html('请选择:' + names.join("、") + "共" + images.length + '个文件'); } function createCopyButton(id, dataFrom) { -- Gitee