Commit ecec8f197ae53eed2a435b3bf0b2f2bde05ce295
1 parent
9788eb26
perf(src/views/chart): 优化日期选择器和下拉框选择器默认层级比其他组件层级高
Showing
2 changed files
with
2 additions
and
2 deletions
... | ... | @@ -25,7 +25,7 @@ export const option = { |
25 | 25 | |
26 | 26 | export default class Config extends PublicConfigClass implements CreateComponentType { |
27 | 27 | public key = OverrideInputsDateConfig.key |
28 | - public attr = { ...chartInitConfig, w: 260, h: 32, zIndex: -1 } | |
28 | + public attr = { ...chartInitConfig, w: 260, h: 32, zIndex: 99999 } | |
29 | 29 | public chartConfig = cloneDeep(OverrideInputsDateConfig) |
30 | 30 | public interactActions = interactActions |
31 | 31 | public option = cloneDeep(option) | ... | ... |
... | ... | @@ -30,7 +30,7 @@ export const option = { |
30 | 30 | |
31 | 31 | export default class Config extends PublicConfigClass implements CreateComponentType { |
32 | 32 | public key = OverrideSelectConfig.key |
33 | - public attr = { ...chartInitConfig, w: 260, h: 32, zIndex: -1 } | |
33 | + public attr = { ...chartInitConfig, w: 260, h: 32, zIndex: 99999 } | |
34 | 34 | public chartConfig = cloneDeep(OverrideSelectConfig) |
35 | 35 | public interactActions = interactActions |
36 | 36 | public option = cloneDeep(option) | ... | ... |