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
f166324d
authored
Jul 19, 2021
by
panjiangyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
查看然后关闭会话列表
parent
d92327de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
chat-list.vue
chat-list.vue
View file @
f166324d
...
...
@@ -225,7 +225,7 @@ export default class ChatList extends Vue {
}).
finally
(
this
.
raiseChatIdChanged
);
this
.
showChat
();
this
.
$emit
(
"close"
);
this
.
close
(
);
this
.
saveChatTitle
(
info
.
uniplatId
);
}
...
...
@@ -243,10 +243,15 @@ export default class ChatList extends Vue {
return
formatTime
(
v
,
{
short
:
true
,
rule
:
TimeFormatRule
.
Hour12
});
}
private
close
()
{
this
.
$emit
(
"close"
);
}
private
goToDetail
(
model_name
:
string
,
keyvalue
:
string
)
{
this
.
$router
.
push
(
`/
${
this
.
$route
.
params
.
project
}
/
${
this
.
$route
.
params
.
entrance
}
/detail/
${
model_name
}
/key/
${
keyvalue
}
`
);
this
.
close
();
}
}
</
script
>
...
...
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