Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
a5b53ea8
Commit
a5b53ea8
authored
Jan 15, 2026
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!141
parents
e8396971
007a584d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
21 deletions
+24
-21
src/utils/cnSuperWebsocket.ts
+8
-7
src/utils/cnWebsocket.ts
+8
-7
src/utils/websocket.ts
+8
-7
No files found.
src/utils/cnSuperWebsocket.ts
View file @
a5b53ea8
...
@@ -50,12 +50,13 @@ function sendSystemMessage(msg: string): void {
...
@@ -50,12 +50,13 @@ function sendSystemMessage(msg: string): void {
}
}
const
showReconnectingMsg
=
():
void
=>
{
const
showReconnectingMsg
=
():
void
=>
{
ElMessageBox
.
alert
(
'消息服务已断开,正在重新连接,请稍候'
,
{
ElMessage
.
warning
(
'消息服务已断开,正在重新连接,请稍候'
)
showClose
:
true
,
// ElMessageBox.alert('消息服务已断开,正在重新连接,请稍候', {
confirmButtonText
:
'确定'
,
// showClose: true,
cancelButtonText
:
'取消'
,
// confirmButtonText: '确定',
type
:
'warning'
,
// cancelButtonText: '取消',
})
// type: 'warning',
// })
}
}
class
Im
{
class
Im
{
...
@@ -150,7 +151,7 @@ class Im {
...
@@ -150,7 +151,7 @@ class Im {
this
.
num
++
this
.
num
++
if
(
this
.
num
>
5
)
{
if
(
this
.
num
>
5
)
{
ElMessage
Box
.
alert
(
'尝试重连消息服务失败,请刷新重试'
)
ElMessage
.
warning
(
'尝试重连消息服务失败,请刷新重试'
)
return
return
}
}
...
...
src/utils/cnWebsocket.ts
View file @
a5b53ea8
...
@@ -50,12 +50,13 @@ function sendSystemMessage(msg: string): void {
...
@@ -50,12 +50,13 @@ function sendSystemMessage(msg: string): void {
}
}
const
showReconnectingMsg
=
():
void
=>
{
const
showReconnectingMsg
=
():
void
=>
{
ElMessageBox
.
alert
(
'消息服务已断开,正在重新连接,请稍候'
,
{
ElMessage
.
warning
(
'消息服务已断开,正在重新连接,请稍候'
)
showClose
:
true
,
// ElMessageBox.alert('消息服务已断开,正在重新连接,请稍候', {
confirmButtonText
:
'确定'
,
// showClose: true,
cancelButtonText
:
'取消'
,
// confirmButtonText: '确定',
type
:
'warning'
,
// cancelButtonText: '取消',
})
// type: 'warning',
// })
}
}
class
Im
{
class
Im
{
...
@@ -150,7 +151,7 @@ class Im {
...
@@ -150,7 +151,7 @@ class Im {
this
.
num
++
this
.
num
++
if
(
this
.
num
>
5
)
{
if
(
this
.
num
>
5
)
{
ElMessage
Box
.
alert
(
'尝试重连消息服务失败,请刷新重试'
)
ElMessage
.
warning
(
'尝试重连消息服务失败,请刷新重试'
)
return
return
}
}
...
...
src/utils/websocket.ts
View file @
a5b53ea8
...
@@ -51,12 +51,13 @@ function sendSystemMessage(msg: string): void {
...
@@ -51,12 +51,13 @@ function sendSystemMessage(msg: string): void {
}
}
const
showReconnectingMsg
=
():
void
=>
{
const
showReconnectingMsg
=
():
void
=>
{
ElMessageBox
.
alert
(
'消息服务已断开,正在重新连接,请稍候'
,
{
ElMessage
.
warning
(
'消息服务已断开,正在重新连接,请稍候'
)
showClose
:
true
,
// ElMessageBox.alert('消息服务已断开,正在重新连接,请稍候', {
confirmButtonText
:
'确定'
,
// showClose: true,
cancelButtonText
:
'取消'
,
// confirmButtonText: '确定',
type
:
'warning'
,
// cancelButtonText: '取消',
})
// type: 'warning',
// })
}
}
class
Im
{
class
Im
{
...
@@ -151,7 +152,7 @@ class Im {
...
@@ -151,7 +152,7 @@ class Im {
this
.
num
++
this
.
num
++
if
(
this
.
num
>
5
)
{
if
(
this
.
num
>
5
)
{
ElMessage
Box
.
alert
(
'尝试重连消息服务失败,请刷新重试'
)
ElMessage
.
warning
(
'尝试重连消息服务失败,请刷新重试'
)
return
return
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment