1let columns = [
2 {
3 title: "Name",
4 dataIndex: "name",
5 key: "name"
6 },
7 {
8 title: "Age",
9 dataIndex: "age",
10 key: "age"
11 },
12 {
13 title: "Address",
14 dataIndex: "address",
15 key: "address"
16 },
17 {
18 title: "Action",
19 key: "action",
20 dataIndex: "action",
21 hidden: true
22 }
23].filter(item => !item.hidden);