vue :style 设置 calc 减去某一高度

chartStyle: {
      type: Object,
      default: () => ({
        width: '100%',
        height: `calc(100vh - 400px)`,
      }),
      required: true,
}

 

posted @ 2022-04-14 16:58  haha-uu  阅读(2802)  评论(0)    收藏  举报