修改测试bug,优化页面
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<template>
|
||||
<div class="realtrend" v-loading="loading">
|
||||
<div class="select" v-if="!loading">
|
||||
<div class="mr10">谐波次数</div>
|
||||
<div class="mr10">次数</div>
|
||||
<el-select v-model.trim="selectValue" style="width: 100px" @change="selectChange">
|
||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
||||
</el-select>
|
||||
@@ -292,7 +292,7 @@ const setRealTrendData = (val: any) => {
|
||||
if (selectValue.value != '3') {
|
||||
if (selectValue.value == '2') {
|
||||
if (activeName.value == 2) {
|
||||
if (numberPart % 2 !== 0) {
|
||||
if (numberPart % 2 !== 0 && numberPart < 17) {
|
||||
tableData.value[key] = val[key]
|
||||
}
|
||||
} else {
|
||||
@@ -302,7 +302,7 @@ const setRealTrendData = (val: any) => {
|
||||
}
|
||||
} else {
|
||||
if (activeName.value == 2) {
|
||||
if (numberPart % 2 === 0) {
|
||||
if (numberPart % 2 === 0 && numberPart < 17) {
|
||||
tableData.value[key] = val[key]
|
||||
}
|
||||
} else {
|
||||
@@ -312,7 +312,13 @@ const setRealTrendData = (val: any) => {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
tableData.value[key] = val[key]
|
||||
if (activeName.value == 2) {
|
||||
if (numberPart < 17) {
|
||||
tableData.value[key] = val[key]
|
||||
}
|
||||
} else {
|
||||
tableData.value[key] = val[key]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user