Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
4037652b
Commit
4037652b
authored
Mar 30, 2022
by
前端-彭佳文
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418-ljr' into 'v2-220418'
fix: 修改websocket连接 See merge request linkseeks-design/pro-platform!72
parents
4bcdea5e
446eb519
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
RightContent.tsx
src/layouts/components/RightContent.tsx
+2
-2
No files found.
src/layouts/components/RightContent.tsx
View file @
4037652b
...
@@ -83,10 +83,10 @@ const GlobalHeaderRight: React.FC<{ SiteStore?: any, isHome: boolean }> = (props
...
@@ -83,10 +83,10 @@ const GlobalHeaderRight: React.FC<{ SiteStore?: any, isHome: boolean }> = (props
console
.
log
(
"socket 出错"
)
console
.
log
(
"socket 出错"
)
}
}
}
}
},
[
ws
,
userInfo
]);
},
[
ws
]);
useEffect
(()
=>
{
useEffect
(()
=>
{
webSocketInit
();
userInfo
&&
webSocketInit
();
return
()
=>
{
return
()
=>
{
ws
.
current
?.
close
();
ws
.
current
?.
close
();
};
};
...
...
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