Commit 9c795a9a719a7cc9d3770a7aefc30015b6a72fe2
1 parent
a562d9e6
fix: some kind component not defalut checked in more component
Showing
3 changed files
with
6 additions
and
6 deletions
... | ... | @@ -5,8 +5,8 @@ |
5 | 5 | Sidebar.prototype.addAirPalette = function () { |
6 | 6 | const { COMPONENT_TYPE } = this.enumCellBasicAttribute |
7 | 7 | const { DEFAULT } = this.enumComponentType |
8 | - const gn = 'mxgraph.Air'; | |
9 | - const dt = 'Air'; | |
8 | + const gn = 'mxgraph.air'; | |
9 | + const dt = 'air'; | |
10 | 10 | const label = '空气' |
11 | 11 | const width = 66; |
12 | 12 | const height = 74; | ... | ... |
... | ... | @@ -5,8 +5,8 @@ |
5 | 5 | Sidebar.prototype.addFiltersPalette = function () { |
6 | 6 | const { COMPONENT_TYPE } = this.enumCellBasicAttribute |
7 | 7 | const { DEFAULT } = this.enumComponentType |
8 | - const gn = 'mxgraph.Filters'; | |
9 | - const dt = 'Filters'; | |
8 | + const gn = 'mxgraph.filters'; | |
9 | + const dt = 'filters'; | |
10 | 10 | const label = '过滤器'; |
11 | 11 | const width = 66; |
12 | 12 | const height = 74; | ... | ... |
... | ... | @@ -5,8 +5,8 @@ |
5 | 5 | Sidebar.prototype.addPumpsPalette = function () { |
6 | 6 | const { COMPONENT_TYPE } = this.enumCellBasicAttribute |
7 | 7 | const { DEFAULT } = this.enumComponentType |
8 | - const gn = 'mxgraph.Pumps'; | |
9 | - const dt = 'Pumps'; | |
8 | + const gn = 'mxgraph.pumps'; | |
9 | + const dt = 'pumps'; | |
10 | 10 | const label = '泵' |
11 | 11 | const width = 66; |
12 | 12 | const height = 74; | ... | ... |