微调
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
</template>
|
||||
</el-dropdown>
|
||||
<div class="avatar">
|
||||
<el-button type="text" style="font-size: 18px;color:#fff;" icon="SwitchButton" @click="logout"/>
|
||||
<el-button type="text" style="font-size: 18px;color:var(--el-color-primary);" icon="SwitchButton" @click="logout"/>
|
||||
<!-- <img src="@/assets/icons/out_login.svg" alt="avatar" @click="logout" />-->
|
||||
</div>
|
||||
<!-- infoDialog -->
|
||||
@@ -147,10 +147,10 @@ const changeMode = async () => {
|
||||
.icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: #fff !important;
|
||||
color: var(--el-color-primary) !important;
|
||||
}
|
||||
.username {
|
||||
color: #fff;
|
||||
color: var(--el-color-primary);
|
||||
font-size: 16px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
@@ -396,7 +396,7 @@ const updateTableData = async () => {
|
||||
for (let key of keys1) {
|
||||
let children = []
|
||||
let label = key
|
||||
if ((key.includes('谐波') || key.includes('简谐波')) || key.includes('谐波有功功率')) {
|
||||
if (key.includes('谐波')) {
|
||||
for (let item of data.resultData[key]) {
|
||||
let num = formatHarmNum(item.harmNum + '')
|
||||
label =
|
||||
@@ -433,7 +433,7 @@ const updateTableData = async () => {
|
||||
let keys2 = Object.keys(data.rawData)
|
||||
let rawData = new Map()
|
||||
for (let key of keys2) {
|
||||
if ((key.includes('谐波') || key.includes('简谐波')) || key.includes('谐波有功功率')) {
|
||||
if (key.includes('谐波')) {
|
||||
for (let item of data.rawData[key]) {
|
||||
let num = formatHarmNum(item.harmNum + '')
|
||||
let value = rawData.get(key + '_' + num)
|
||||
|
||||
Reference in New Issue
Block a user