From d5575f080c58eec41b686d210d43f3fc7aa7cf56 Mon Sep 17 00:00:00 2001 From: xiaoxiaolin Date: Thu, 21 Aug 2025 14:15:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=8D=E5=88=B6=E5=90=8E=E6=9C=AA=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E5=BD=93=E5=89=8D=E5=85=83=E7=B4=A0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在复制模板数据后,触发新克隆元素的 click 事件- 添加触发设计目标元素的 focus 事件 - 添加触发原元素的 blur 事件,确保正确处理焦点变化 --- src/hiprint/hiprint.bundle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hiprint/hiprint.bundle.js b/src/hiprint/hiprint.bundle.js index efce189..7f15e67 100644 --- a/src/hiprint/hiprint.bundle.js +++ b/src/hiprint/hiprint.bundle.js @@ -9866,6 +9866,8 @@ var hiprint = function (t) { o.a.event.trigger("hiprintTemplateDataChanged_" + n.templateId, "复制"); // 点击克隆出来的元素 a.designTarget.children('.resize-panel').trigger($.Event('click')); + a.designTarget.trigger($.Event('focus')) + ele.designTarget.trigger($.Event('blur')) }) } catch (e) { console.error('pasteJson error', e); -- Gitee