mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
feat: 表格选择器默认全屏打开
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user