| 12345678910111213 |
- import { computed } from 'vue'
- import { useParent } from './useParent'
- import { CELL_GROUP_KEY } from '../wd-cell-group/types'
- export function useCell() {
- const { parent: cellGroup, index } = useParent(CELL_GROUP_KEY)
- const border = computed(() => {
- return cellGroup && cellGroup.props.border && index.value
- })
- return { border }
- }
|