feat: 表格选择器默认全屏打开

This commit is contained in:
augushong
2025-05-07 17:47:13 +08:00
parent 45d2a2307a
commit 79bce85300

View File

@@ -25,15 +25,8 @@
tableData.prototype.render = function (elem, data) {
var app;
var clienWidth, clientHeight;
var width = document.body.clientWidth,
height = document.body.clientHeight;
if (width >= 800 && height >= 600) {
clienWidth = '800px';
clientHeight = '600px';
} else {
clienWidth = '100%';
clientHeight = '100%';
}
var defaultOption = {
width: clienWidth,