vue中style不生效之计算两边必须有空格

<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>

猜你喜欢

转载自blog.csdn.net/m0_63229791/article/details/134799292