Commit 998388bb authored by 季圣华's avatar 季圣华
Browse files

调整页面的高度,改为自适应(优化)

parent fdfd69c2
......@@ -16,7 +16,7 @@ export const JeecgListMixin = {
//token header
tokenHeader: {'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)},
/*卡片样式 */
cardStyle: 'height:' + (document.documentElement.clientHeight-125) + 'px',
cardStyle: '',
/* 查询条件-请不要在queryParam中声明非字符串值的属性 */
queryParam: {},
/* 数据源 */
......@@ -63,6 +63,9 @@ export const JeecgListMixin = {
}
},
created() {
if(this.isDesktop()) {
this.cardStyle = 'height:' + (document.documentElement.clientHeight-125) + 'px'
}
if(!this.disableMixinCreated){
//console.log(' -- mixin created -- ')
this.loadData();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment