Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
998388bb
Commit
998388bb
authored
Dec 14, 2021
by
季圣华
Browse files
调整页面的高度,改为自适应(优化)
parent
fdfd69c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/mixins/JeecgListMixin.js
View file @
998388bb
...
@@ -16,7 +16,7 @@ export const JeecgListMixin = {
...
@@ -16,7 +16,7 @@ export const JeecgListMixin = {
//token header
//token header
tokenHeader
:
{
'
X-Access-Token
'
:
Vue
.
ls
.
get
(
ACCESS_TOKEN
)},
tokenHeader
:
{
'
X-Access-Token
'
:
Vue
.
ls
.
get
(
ACCESS_TOKEN
)},
/*卡片样式 */
/*卡片样式 */
cardStyle
:
'
height:
'
+
(
document
.
documentElement
.
clientHeight
-
125
)
+
'
px
'
,
cardStyle
:
''
,
/* 查询条件-请不要在queryParam中声明非字符串值的属性 */
/* 查询条件-请不要在queryParam中声明非字符串值的属性 */
queryParam
:
{},
queryParam
:
{},
/* 数据源 */
/* 数据源 */
...
@@ -63,6 +63,9 @@ export const JeecgListMixin = {
...
@@ -63,6 +63,9 @@ export const JeecgListMixin = {
}
}
},
},
created
()
{
created
()
{
if
(
this
.
isDesktop
())
{
this
.
cardStyle
=
'
height:
'
+
(
document
.
documentElement
.
clientHeight
-
125
)
+
'
px
'
}
if
(
!
this
.
disableMixinCreated
){
if
(
!
this
.
disableMixinCreated
){
//console.log(' -- mixin created -- ')
//console.log(' -- mixin created -- ')
this
.
loadData
();
this
.
loadData
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment