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
5d95f6cd
authored
Sep 09, 2021
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u
parent
049a2228
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
components/model-detail.vue
components/model-detail.vue
View file @
5d95f6cd
...
@@ -65,6 +65,9 @@ export default class ChatModelDetail extends Vue {
...
@@ -65,6 +65,9 @@ export default class ChatModelDetail extends Vue {
@
Prop
({
type
:
String
,
default
:
null
})
@
Prop
({
type
:
String
,
default
:
null
})
private
readonly
name
!
:
string
;
private
readonly
name
!
:
string
;
@
Prop
()
private
readonly
drawer
!
:
boolean
;
private
sseMessageRefreshData
=
false
;
private
sseMessageRefreshData
=
false
;
private
detailData
:
private
detailData
:
...
@@ -93,9 +96,13 @@ export default class ChatModelDetail extends Vue {
...
@@ -93,9 +96,13 @@ export default class ChatModelDetail extends Vue {
}
}
private
goTodetail
()
{
private
goTodetail
()
{
this
.
$router
.
push
(
const
path
=
`/
${
this
.
$route
.
params
.
project
}
.
${
this
.
$route
.
params
.
entrance
}
/detail/
${
this
.
model_name
}
/key/
${
this
.
id
}
`
;
`/
${
this
.
$route
.
params
.
project
}
/
${
this
.
$route
.
params
.
entrance
}
/detail/
${
this
.
model_name
}
/key/
${
this
.
id
}
`
if
(
this
.
drawer
)
{
);
this
.
$emit
(
"drawer"
,
path
);
}
else
{
this
.
$router
.
push
(
path
);
}
this
.
hideChat
();
this
.
hideChat
();
}
}
...
...
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