Browse Source

fix: 接口调用延后

master
guoapeng 3 days ago
parent
commit
34fed8a47f
  1. 2
      src/app.vue

2
src/app.vue

@ -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) => {

Loading…
Cancel
Save