This commit is contained in:
‘937886381’ 2024-07-11 14:49:48 +08:00
parent 0547133e35
commit 06ab8159c5
2 changed files with 7 additions and 6 deletions

View File

@ -35,12 +35,12 @@ export default {
if (val == true) { if (val == true) {
let item = document.getElementsByClassName('el-breadcrumb__separator') let item = document.getElementsByClassName('el-breadcrumb__separator')
// let item =document.getElementsByClassName('') // let item =document.getElementsByClassName('')
item[0].classList.add("changeColor") item[0].style.color = rgba(255, 255, 255, 0.45)
item[1].classList.add("changeColor") item[1].style.color = rgba(255, 255, 255, 0.45)
} else { } else {
let item = document.getElementsByClassName('el-breadcrumb__separator') let item = document.getElementsByClassName('el-breadcrumb__separator')
item[0].classList.remove("changeColor") item[0].style.color = ''
item[1].classList.remove("changeColor") item[1].style.color = ''
} }
}, },
$route(route) { $route(route) {

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: zhp * @Author: zhp
* @Date: 2024-07-08 14:51:47 * @Date: 2024-07-08 14:51:47
* @LastEditTime: 2024-07-09 11:07:47 * @LastEditTime: 2024-07-11 14:48:15
* @LastEditors: zhp * @LastEditors: zhp
* @Description: * @Description:
--> -->
@ -67,12 +67,13 @@ export default {
legend: { legend: {
bottom: 0, bottom: 0,
left: 'center', left: 'center',
itemGap:40, itemGap:60,
}, },
series: [ series: [
{ {
// name: 'Access From', // name: 'Access From',
type: 'pie', type: 'pie',
center: ['50%', '45%'],
radius: ['50%', '70%'], radius: ['50%', '70%'],
avoidLabelOverlap: false, avoidLabelOverlap: false,
data: this.pieList, data: this.pieList,