From da8f3b4cf8488d655541ecdd7e3ca3d0c3d51faa Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 27 May 2021 16:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A1=A8=E6=A0=BC=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=A2=84=E8=A7=88=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=AE=BD?= =?UTF-8?q?=E9=AB=98=E6=97=A0=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 5 ----- .../src/main/resources/templates/demo/table/image.html | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 3215f3b9a..a2c3fd5f2 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -248,11 +248,6 @@ var table = { if($.common.equals("self", target)) { var height = $(this).data('height'); var width = $(this).data('width'); - // 如果是移动端,就使用自适应大小弹窗 - if ($.common.isMobile()) { - width = 'auto'; - height = 'auto'; - } layer.open({ title: false, type: 1, diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/image.html b/ruoyi-admin/src/main/resources/templates/demo/table/image.html index 32a1e0505..34a60ab01 100644 --- a/ruoyi-admin/src/main/resources/templates/demo/table/image.html +++ b/ruoyi-admin/src/main/resources/templates/demo/table/image.html @@ -1,7 +1,7 @@ - +