mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-03 04:21:34 +08:00
docs(data-table): add selection col
This commit is contained in:
parent
5c24d05585
commit
c0650134da
@ -10,6 +10,9 @@ import { NTag, NButton, useMessage } from 'naive-ui'
|
||||
|
||||
const createColumns = ({ sendMail }) => {
|
||||
return [
|
||||
{
|
||||
type: 'selection'
|
||||
},
|
||||
{
|
||||
type: 'expand',
|
||||
expandable: (_, index) => index !== 1,
|
||||
|
@ -10,6 +10,9 @@ import { NTag, NButton, useMessage } from 'naive-ui'
|
||||
|
||||
const createColumns = ({ sendMail }) => {
|
||||
return [
|
||||
{
|
||||
type: 'selection'
|
||||
},
|
||||
{
|
||||
type: 'expand',
|
||||
expandable: (_, index) => index !== 1,
|
||||
|
Loading…
Reference in New Issue
Block a user