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

This commit is contained in:
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,