layui table height

When setting the height of the layui table, use height:'full'.
The height is the total height of each page of the table. You can also write the numerical value directly, but this is a fixed height.
You can also use height: "full-value", such as

height:'full-80'

Then 100px will be left at the bottom when the table occupies the remaining div. Equivalent to margin -bottom:100px

Guess you like

Origin blog.csdn.net/qq_26695613/article/details/132688866