diff --git a/ui/dasadmin/src/views/backend/dashboard.vue b/ui/dasadmin/src/views/backend/dashboard.vue
index 25189915..4741df41 100644
--- a/ui/dasadmin/src/views/backend/dashboard.vue
+++ b/ui/dasadmin/src/views/backend/dashboard.vue
@@ -22,7 +22,7 @@
全场实时有功
{{realData.attributeMap.windfarmactivepower}}
- MW
+ kW
@@ -349,7 +349,7 @@ const getTableData = (deviceCode) => {
limit: 100,
eventLevel:2
}
- console.log(JSON.stringify(data))
+ // console.log(JSON.stringify(data))
getAlarmListReq(data).then((res) => {
if (res.code == 200) {
//tableData.value = res.rows
@@ -431,11 +431,7 @@ const createScroll = () => {
-const activeName = ref('first')
-//let autoUpdateTimer: any = null
let autoUpdateForSecondTimer: any = null
-let autoUpdateTimerForMinuteTimer: any = null
-let autoUpdateTimerForHourTimer: any = null
const autoUpdate = () => {
if (!autoUpdateForSecondTimer) {
autoUpdateForSecondTimer = setInterval(() => {
@@ -485,10 +481,6 @@ onUnmounted(() => {
window.removeEventListener('resize', sizeChange)
clearInterval(timer)
autoUpdateForSecondTimer && clearInterval(autoUpdateForSecondTimer)
- /*const chartKeys = Object.keys(state.charts) as Array
- chartKeys.forEach((key) => {
- state.charts[key].dispose()
- })*/
})