断线后自动重连并重新同步任务列表

This commit is contained in:
root
2026-09-08 09:34:37 +08:00
parent 287dc094df
commit b0f832c37e
5 changed files with 200 additions and 32 deletions
+3
View File
@@ -1,6 +1,9 @@
<template>
<div class="side-table-wrapper">
<div v-show="loadComplete" class="load_complete">
<el-tag :type="store.state.connectionStatus === 'connected' ? 'success' : 'warning'" role="status">
{{ {connected: '进度已连接', connecting: '正在连接进度', reconnecting: '连接中断,正在重连', disconnected: '进度连接已断开'}[store.state.connectionStatus] }}
</el-tag>
<el-table :data="currentTasks"
:height="tableHeight"
:empty-text="emptyText"