feat
This commit is contained in:
@@ -118,7 +118,7 @@ const props = defineProps({
|
||||
},
|
||||
showDownload: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
default: false,
|
||||
},
|
||||
showRefresh: {
|
||||
type: Boolean,
|
||||
@@ -166,6 +166,7 @@ const emit = defineEmits<{
|
||||
(e: 'column-change', columns: TableColumnData[]): void
|
||||
}>()
|
||||
|
||||
|
||||
// 计算需要插槽的列(动态插槽透传)
|
||||
const slotColumns = computed(() => {
|
||||
return props.columns.filter(col => col.slotName)
|
||||
|
||||
Reference in New Issue
Block a user