Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
538a1837
authored
Aug 11, 2021
by
吴云建
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加xim退出
parent
71626bbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
xim/index.ts
xim/index.ts
View file @
538a1837
...
@@ -42,6 +42,10 @@ class Chat {
...
@@ -42,6 +42,10 @@ class Chat {
return
this
.
initChatSdk
(
option
.
webSocketUri
);
return
this
.
initChatSdk
(
option
.
webSocketUri
);
}
}
public
unSetup
()
{
xim
.
close
();
}
public
getSdk
=
()
=>
{
public
getSdk
=
()
=>
{
if
(
this
.
_sdk
==
null
)
{
if
(
this
.
_sdk
==
null
)
{
throw
new
Error
(
"sdk shouldn't undefined"
);
throw
new
Error
(
"sdk shouldn't undefined"
);
...
...
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