Merge pull request #2834 from dataease/pr@dev@fix_map_style

fix(视图-地图): 缩放按钮深色主题切到浅色没有反应
This commit is contained in:
fit2cloud-chenyw 2022-08-11 16:28:02 +08:00 committed by GitHub
commit 06a9afd64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,6 +297,8 @@ export default {
if (panelColor !== '#FFFFFF') {
const reverseValue = reverseColor(panelColor)
this.buttonTextColor = reverseValue
} else {
this.buttonTextColor = null
}
}
}