Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
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
ops
luna
Commits
ed730e6d
Commit
ed730e6d
authored
Jul 27, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] For org
parent
cd12feb0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
app.service.ts
src/app/app.service.ts
+3
-3
replay.component.ts
src/app/pages/replay/replay.component.ts
+1
-2
No files found.
src/app/app.service.ts
View file @
ed730e6d
...
...
@@ -126,9 +126,9 @@ export class HttpService {
return
this
.
http
.
get
(
'/api/terminal/v1/sessions/'
+
token
+
'/replay'
);
}
get_replay_json
(
token
:
string
)
{
return
this
.
http
.
get
(
'/api/terminal/v2/sessions/'
+
token
+
'/replay'
);
}
//
get_replay_json(token: string) {
//
return this.http.get('/api/terminal/v2/sessions/' + token + '/replay');
//
}
get_replay_data
(
src
:
string
)
{
return
this
.
http
.
get
(
src
);
...
...
src/app/pages/replay/replay.component.ts
View file @
ed730e6d
...
...
@@ -24,7 +24,7 @@ export class PagesReplayComponent implements OnInit {
.
subscribe
(
params
=>
{
token
=
params
[
'token'
];
});
this
.
_http
.
get_replay
_json
(
token
)
this
.
_http
.
get_replay
(
token
)
.
subscribe
(
data
=>
{
this
.
replay
.
type
=
data
[
'type'
];
...
...
@@ -32,7 +32,6 @@ export class PagesReplayComponent implements OnInit {
this
.
replay
.
id
=
data
[
'id'
];
},
err
=>
{
this
.
_http
.
get_replay
(
token
);
alert
(
'没找到录像文件'
);
}
);
...
...
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