feat: add rule option for phone in application's signup page (#1745)

This commit is contained in:
wht
2023-04-16 20:34:06 +08:00
committed by GitHub
parent 7edaeafea5
commit 5c26335fd6
4 changed files with 28 additions and 20 deletions

View File

@ -186,6 +186,11 @@ class SignupTable extends React.Component {
{id: "Normal", name: i18next.t("application:Normal")},
{id: "No verification", name: i18next.t("application:No verification")},
];
} else if (record.name === "Phone") {
options = [
{id: "Normal", name: i18next.t("application:Normal")},
{id: "No verification", name: i18next.t("application:No verification")},
];
} else if (record.name === "Agreement") {
options = [
{id: "None", name: i18next.t("application:Only signup")},