热爱生活,追求真理,不要以为自己年轻而盲目乐观。——左拉

Namespace optimize by VampireAchao · Pull Request #514 · apache/shenyu-dashboard · GitHub

20241206163808

image

image

image

20241206163916

src/components/GlobalHeader/index.js

1
2
3
-    if (namespaceId !== defaultNamespaceId) {
- message.warn(getIntlContent("SHENYU.NAMESPACE.ALERTNAMESPACEID.CHANGED"));
- }

src/routes/System/PluginHandle/AddModal.js

1
2
3
4
5
6
7
8
9
10
-              <Select placeholder={getIntlContent("SHENYU.PLUGIN.PLUGIN.NAME")}>
+ <Select
+ placeholder={getIntlContent("SHENYU.PLUGIN.PLUGIN.NAME")}
+ showSearch
+ filterOption={(input, option) =>
+ option.props.children
+ .toLowerCase()
+ .indexOf(input.toLowerCase()) >= 0
+ }
+ >