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,7 +25,7 @@ export const option = { | ||
25 | 25 | ||
26 | export default class Config extends PublicConfigClass implements CreateComponentType { | 26 | export default class Config extends PublicConfigClass implements CreateComponentType { |
27 | public key = OverrideInputsDateConfig.key | 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 | public chartConfig = cloneDeep(OverrideInputsDateConfig) | 29 | public chartConfig = cloneDeep(OverrideInputsDateConfig) |
30 | public interactActions = interactActions | 30 | public interactActions = interactActions |
31 | public option = cloneDeep(option) | 31 | public option = cloneDeep(option) |
@@ -30,7 +30,7 @@ export const option = { | @@ -30,7 +30,7 @@ export const option = { | ||
30 | 30 | ||
31 | export default class Config extends PublicConfigClass implements CreateComponentType { | 31 | export default class Config extends PublicConfigClass implements CreateComponentType { |
32 | public key = OverrideSelectConfig.key | 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 | public chartConfig = cloneDeep(OverrideSelectConfig) | 34 | public chartConfig = cloneDeep(OverrideSelectConfig) |
35 | public interactActions = interactActions | 35 | public interactActions = interactActions |
36 | public option = cloneDeep(option) | 36 | public option = cloneDeep(option) |