|
|
@ -7,11 +7,11 @@ import { onBeforeUnmount, onMounted, ref } from 'vue' |
|
|
|
|
|
|
|
const systemStore = useSystemStore() |
|
|
|
onMounted(async () => { |
|
|
|
startProgress() |
|
|
|
const res = await getStatus() |
|
|
|
// console.log(res) |
|
|
|
// console.log(systemStore.systemStatus) |
|
|
|
systemStore.updateSystemStatus(res) |
|
|
|
startProgress() |
|
|
|
}) |
|
|
|
|
|
|
|
socket.init((data: System.SystemStatus) => { |
|
|
|