修复表格图片预览移动端宽高无效问题

pull/297/head
RuoYi 2021-05-27 16:04:37 +08:00
parent b7c8258399
commit da8f3b4cf8
2 changed files with 1 additions and 6 deletions

View File

@ -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,

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('跳转至指定页')" />
<th:block th:include="include :: header('表格图片预览')" />
</head>
<body class="gray-bg">
<div class="container-div">