We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a68c47 commit 19b9f19Copy full SHA for 19b9f19
src/uni_modules/wot-design-uni/components/wd-cell/wd-cell.vue
@@ -63,14 +63,15 @@ import { useCell } from '../composables/useCell'
63
import { useParent } from '../composables/useParent'
64
import { FORM_KEY } from '../wd-form/types'
65
import { cellProps } from './types'
66
+import { isDef } from '../common/util'
67
68
const props = defineProps(cellProps)
69
const emit = defineEmits(['click'])
70
71
const cell = useCell()
72
73
const isBorder = computed(() => {
- return cell.border.value
74
+ return isDef(cell.border.value) ? cell.border.value : props.border
75
})
76
77
const { parent: form } = useParent(FORM_KEY)
0 commit comments