| | |
| | | height: `${CELL_HEIGHT}px`, |
| | | }" |
| | | > |
| | | <span class="cursor-pointer" @mouseover="valueMouseOver($event, item)" @mouseleave="valueMouseLeave" @click="emit('itemClick',item,item[type])"> |
| | | <span |
| | | class="cursor-pointer" |
| | | @mouseover="valueMouseOver($event, item)" |
| | | @mouseleave="valueMouseLeave" |
| | | @click="emit('itemClick', item, type)" |
| | | > |
| | | {{ item[type] }} |
| | | </span> |
| | | </div> |
| | |
| | | import { BORDER_COLOR, CELL_HEIGHT, CONTENT_CELL_CLASS, ROW_HEADER_CELL_CLASS, THICK_BORDER_WIDTH } from './constants'; |
| | | import type { MonitorValue } from './types'; |
| | | |
| | | const emit = defineEmits(['itemClick']) |
| | | const emit = defineEmits(['itemClick']); |
| | | const props = defineProps({ |
| | | /** @description 标题 */ |
| | | title: { |