<style lang="less" scoped>
.manage {
height: 90%;
.common-table1 {
position: relative;
height: calc(100% - 62px);//calc(100%-62px);是错误的不生效,减号两边一定要有空格
}
.pager {
position: absolute;
bottom: 0;
right: 20px;
}
}
</style>
vue中style不生效之计算两边必须有空格
最新推荐文章于 2024-07-22 08:55:10 发布