modify style

This commit is contained in:
MaysWind
2023-07-30 18:37:32 +08:00
parent 6e41668b25
commit 6cb7e4caf7
+1 -1
View File
@@ -153,6 +153,7 @@ export default {
tooltip: {
trigger: 'item',
backgroundColor: self.isDarkMode ? '#333' : '#fff',
borderColor: self.isDarkMode ? '#333' : '#fff',
textStyle: {
color: self.isDarkMode ? '#eee' : '#333'
},
@@ -174,7 +175,6 @@ export default {
},
legend: {
orient: 'horizontal',
left: 'top',
data: self.validItems.map(item => item.name),
selected: self.selectedLegends,
textStyle: {