Browse Source

fix:断线重连文字描述不正确

master
白凤吉 2 weeks ago
parent
commit
f1d0a81afb
  1. 4
      src/components/system/NetReconnection.vue

4
src/components/system/NetReconnection.vue

@ -11,7 +11,7 @@ const timer = ref()
const websocketConnected = ref(true) const websocketConnected = ref(true)
const countdownToReconnection = () => { const countdownToReconnection = () => {
startTimer(30 * 1000, (times: string) => {
startTimer(10 * 1000, (times: string) => {
if (times === '0') { if (times === '0') {
router.push('/login') router.push('/login')
return return
@ -36,7 +36,7 @@ watchEffect(() => {
<div class="reconnect-modal-container"> <div class="reconnect-modal-container">
<div class="reconnect-spinner" /> <div class="reconnect-spinner" />
<h2 class="reconnect-title"> <h2 class="reconnect-title">
正在重连中 {{ timer }}
{{ timer }}秒后重新链接
</h2> </h2>
<p class="reconnect-message"> <p class="reconnect-message">
请稍候系统正在尝试重新连接网络... 请稍候系统正在尝试重新连接网络...

Loading…
Cancel
Save