mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-16 07:43:50 +08:00
fix: fix WeCom provider method
This commit is contained in:
@ -352,7 +352,7 @@ class ProviderEditPage extends React.Component {
|
|||||||
[
|
[
|
||||||
{id: "Normal", name: i18next.t("provider:Normal")},
|
{id: "Normal", name: i18next.t("provider:Normal")},
|
||||||
{id: "Silent", name: i18next.t("provider:Silent")},
|
{id: "Silent", name: i18next.t("provider:Silent")},
|
||||||
].map((method, index) => <Option key={index} value={method.name}>{method.name}</Option>)
|
].map((method, index) => <Option key={index} value={method.id}>{method.name}</Option>)
|
||||||
}
|
}
|
||||||
</Select>
|
</Select>
|
||||||
</Col>
|
</Col>
|
||||||
|
Reference in New Issue
Block a user