mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
feat: 表格选择器默认全屏打开
This commit is contained in:
@@ -25,15 +25,8 @@
|
|||||||
tableData.prototype.render = function (elem, data) {
|
tableData.prototype.render = function (elem, data) {
|
||||||
var app;
|
var app;
|
||||||
var clienWidth, clientHeight;
|
var clienWidth, clientHeight;
|
||||||
var width = document.body.clientWidth,
|
|
||||||
height = document.body.clientHeight;
|
|
||||||
if (width >= 800 && height >= 600) {
|
|
||||||
clienWidth = '800px';
|
|
||||||
clientHeight = '600px';
|
|
||||||
} else {
|
|
||||||
clienWidth = '100%';
|
clienWidth = '100%';
|
||||||
clientHeight = '100%';
|
clientHeight = '100%';
|
||||||
}
|
|
||||||
|
|
||||||
var defaultOption = {
|
var defaultOption = {
|
||||||
width: clienWidth,
|
width: clienWidth,
|
||||||
|
|||||||
Reference in New Issue
Block a user