From 1e971b8474287329c85b72df35bd4dd0d0893a04 Mon Sep 17 00:00:00 2001 From: Front Ng Date: Wed, 30 Nov 2022 08:07:07 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/main/resources/static/component/pe?= =?UTF-8?q?ar/module/drawer.js.=20=E4=BF=AE=E5=A4=8D=E6=8A=BD=E5=B1=89?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=BC=B9=E7=AA=97=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?iframe=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Front Ng --- src/main/resources/static/component/pear/module/drawer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/static/component/pear/module/drawer.js b/src/main/resources/static/component/pear/module/drawer.js index 7d577149..50e2a701 100644 --- a/src/main/resources/static/component/pear/module/drawer.js +++ b/src/main/resources/static/component/pear/module/drawer.js @@ -109,6 +109,10 @@ layui.define(['jquery', 'element', 'layer'], function (exports) { option.anim = -1; option.move = false; option.fixed = true; + if (option.iframe) { + option.type = 2; + option.content = option.iframe; + } if (option.offset === undefined) option.offset = "r"; option.area = calcDrawerArea(option.offset, option.area); if (option.title === undefined) option.title = false; -- Gitee