feat
This commit is contained in:
@@ -187,7 +187,7 @@ const densityList = [
|
||||
|
||||
// 计算需要插槽的列(只在 columns 变化时重新计算)
|
||||
const slotColumns = computed(() => {
|
||||
return props.columns.filter(col => col.slotName)
|
||||
return props.columns.filter((col) => col.slotName)
|
||||
})
|
||||
|
||||
const onPageChange = (current: number) => {
|
||||
@@ -259,7 +259,7 @@ const popupVisibleChange = (val: boolean) => {
|
||||
|
||||
// 初始化列配置
|
||||
const initColumns = () => {
|
||||
const cols = props.columns.map(item => ({
|
||||
const cols = props.columns.map((item) => ({
|
||||
...item,
|
||||
checked: true,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user