vue :style 设置 calc 减去某一高度
chartStyle: { type: Object, default: () => ({ width: '100%', height: `calc(100vh - 400px)`, }), required: true, }
记录自己的采坑之路,需要时方便查找
chartStyle: { type: Object, default: () => ({ width: '100%', height: `calc(100vh - 400px)`, }), required: true, }