-
-
- 通过弹窗添加 IP、IP 组或地域规则。
-
-
-
-
- removeRuleItem('ip_whitelist', item)}
- onRemoveGroup={(id) => removeRuleGroup('ip_whitelist_group_ids', id)}
- />
- removeRuleItem('ip_blacklist', item)}
- onRemoveGroup={(id) => removeRuleGroup('ip_blacklist_group_ids', id)}
- />
-
- formatCountryItem(code, countryLabelMap),
- )}
- tone="whitelist"
- emptyText="暂无地域白名单规则。"
- onRemove={(item) => {
- const code = item.split(' ')[0] ?? item;
- removeRuleItem('country_whitelist', code);
- }}
- />
-
- formatCountryItem(code, countryLabelMap),
- )}
- tone="blacklist"
- emptyText="暂无地域黑名单规则。"
- onRemove={(item) => {
- const code = item.split(' ')[0] ?? item;
- removeRuleItem('country_blacklist', code);
- }}
- />
-
-
-
-