修改页面log输出并修改tonken超时判断
This commit is contained in:
@@ -106,7 +106,7 @@ const getWpData = (val: any, list: any) => {
|
||||
wp.value = val
|
||||
isWp.value = true
|
||||
boxoList.value = list
|
||||
console.log(wp.value, val, 'ggggghhhh')
|
||||
// console.log(wp.value, val, 'ggggghhhh')
|
||||
}
|
||||
const changeView = () => {
|
||||
showBoxi.value = false
|
||||
|
||||
@@ -548,7 +548,7 @@ const setRealData = (val: any) => {
|
||||
initRadioCharts()
|
||||
//新的
|
||||
echartsDataV1.value.options.series[0].max = realData.value.vRmsA == 0 ? 1 : Math.ceil(realData.value.vRmsA * 1.2)
|
||||
console.log("🚀 ~ setRealData ~ realData.value.vRmsA:", realData.value.vRmsA)
|
||||
// console.log("🚀 ~ setRealData ~ realData.value.vRmsA:", realData.value.vRmsA)
|
||||
echartsDataV1.value.options.series[0].data = [
|
||||
{
|
||||
name: 'A相',
|
||||
|
||||
@@ -76,7 +76,7 @@ const props = defineProps({
|
||||
type: Array,
|
||||
}
|
||||
})
|
||||
console.log("🚀 ~ props:", props.TrendList)
|
||||
// console.log("🚀 ~ props:", props.TrendList)
|
||||
const showEchart = ref(true)
|
||||
//电压等级
|
||||
const voltageLevelList = dictData.getBasicData('Dev_Voltage_Stand')
|
||||
@@ -281,7 +281,7 @@ const init = async () => {
|
||||
return acc
|
||||
}, {})
|
||||
let result = Object.values(groupedData)
|
||||
console.log("🚀 ~ .then ~ result:", result)
|
||||
// console.log("🚀 ~ .then ~ result:", result)
|
||||
// console.log("🚀 ~ .then ~ result:", result)
|
||||
if (chartsList.length > 0) {
|
||||
unitList = result.map((item: any) => {
|
||||
@@ -386,7 +386,7 @@ const init = async () => {
|
||||
series: []
|
||||
}
|
||||
}
|
||||
console.log("🚀 ~ unitList.forEach ~ unitList:", unitList)
|
||||
// console.log("🚀 ~ unitList.forEach ~ unitList:", unitList)
|
||||
|
||||
if (chartsList.length > 0) {
|
||||
echartsData.value.yAxis = []
|
||||
@@ -415,7 +415,7 @@ const init = async () => {
|
||||
// console.log("🚀 ~ result.forEach ~ result:", result)
|
||||
// '电压负序分量', '电压正序分量', '电压零序分量'
|
||||
let ABCName = [...new Set(chartsList.map((item: any) => { return item.anotherName == '电压负序分量' ? '电压不平衡' : item.anotherName == '电压正序分量' ? '电压不平衡' : item.anotherName == '电压零序分量' ? '电压不平衡' : item.anotherName }))];
|
||||
console.log("🚀 ~ .then ~ ABCName:", ABCName)
|
||||
// console.log("🚀 ~ .then ~ ABCName:", ABCName)
|
||||
result.forEach((item: any, index: any) => {
|
||||
let yMethodList: any = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user