UNPKG

bin-ui

Version:

基于 vue2.6 / vue-cli3 的 UI 组件库

17 lines (15 loc) 312 B
export default { name: 'SliderMarker', props: { mark: { type: [String, Object] } }, render(h) { let label = typeof this.mark === 'string' ? this.mark : [this.mark.label] return h('div', { class: 'bin-slider-marks-item', style: this.mark.style || {} }, label) } }