fix: 'refreshInterval' may not read the correct value
This commit is contained in:
parent
a679858478
commit
4cbc0b98e7
|
@ -237,7 +237,7 @@ onMounted(() => {
|
|||
pageState.refreshInterval = interval === 0 ? 5 : interval
|
||||
onToggleRefresh(true)
|
||||
} else {
|
||||
setTimeout(refreshInfo, 5000)
|
||||
setTimeout(refreshInfo, 3000)
|
||||
// setTimeout(_mockChart, 1000)
|
||||
}
|
||||
refreshInfo()
|
||||
|
|
|
@ -105,7 +105,7 @@ const useConnectionStore = defineStore('connections', {
|
|||
defaultFilter: item.defaultFilter,
|
||||
keySeparator: item.keySeparator,
|
||||
markColor: item.markColor,
|
||||
refreshInterval: conn.refreshInterval,
|
||||
refreshInterval: item.refreshInterval,
|
||||
}
|
||||
}
|
||||
conns.push({
|
||||
|
|
Loading…
Reference in New Issue