mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-22 13:28:05 +08:00
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…
x
Reference in New Issue
Block a user