forked from github/dataease
Merge pull request #2834 from dataease/pr@dev@fix_map_style
fix(视图-地图): 缩放按钮深色主题切到浅色没有反应
This commit is contained in:
commit
06a9afd64f
@ -297,6 +297,8 @@ export default {
|
|||||||
if (panelColor !== '#FFFFFF') {
|
if (panelColor !== '#FFFFFF') {
|
||||||
const reverseValue = reverseColor(panelColor)
|
const reverseValue = reverseColor(panelColor)
|
||||||
this.buttonTextColor = reverseValue
|
this.buttonTextColor = reverseValue
|
||||||
|
} else {
|
||||||
|
this.buttonTextColor = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user