feat: add country/region select (#207)

Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
sh1luo
2021-07-31 16:02:48 +08:00
committed by GitHub
parent eabeef094a
commit bc5e748e5c
9 changed files with 110 additions and 2 deletions

View File

@ -66,6 +66,7 @@ class UserListPage extends React.Component {
address: [],
affiliation: "Example Inc.",
tag: "staff",
region: "",
isAdmin: false,
isGlobalAdmin: false,
IsForbidden: false,
@ -199,6 +200,13 @@ class UserListPage extends React.Component {
width: '120px',
sorter: (a, b) => a.affiliation.localeCompare(b.affiliation),
},
{
title: i18next.t("user:Country/Region"),
dataIndex: 'region',
key: 'region',
width: '120px',
sorter: (a, b) => a.region.localeCompare(b.region),
},
{
title: i18next.t("user:Tag"),
dataIndex: 'tag',