Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
Project
Project
Details
Activity
Releases
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
honghuiliu
qsh-wc
Commits
c4faabd1
Commit
c4faabd1
authored
Sep 26, 2022
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
3e2708e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
EZUIKitJs.vue
pc/src/components/EZUIKitJs.vue
+7
-5
site-detail.vue
pc/src/views/site-detail.vue
+2
-0
No files found.
pc/src/components/EZUIKitJs.vue
View file @
c4faabd1
...
@@ -35,12 +35,14 @@
...
@@ -35,12 +35,14 @@
}
}
},
},
watch
:{
watch
:{
url
(){
url
(
val
){
if
(
val
){
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
init
();
this
.
init
();
window
.
addEventListener
(
'onresize'
,
this
.
resize
);
window
.
addEventListener
(
'onresize'
,
this
.
resize
);
})
})
}
}
}
},
},
methods
:
{
methods
:
{
play
()
{
play
()
{
...
...
pc/src/views/site-detail.vue
View file @
c4faabd1
...
@@ -439,6 +439,8 @@
...
@@ -439,6 +439,8 @@
});
});
}
}
function
getMonitorInfo
()
{
function
getMonitorInfo
()
{
state
.
detail
.
accessToken
=
''
;
state
.
detail
.
url
=
''
;
api
.
getMonitorInfo
({
id
:
props
.
site_id
}).
then
((
res
)
=>
{
api
.
getMonitorInfo
({
id
:
props
.
site_id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
if
(
res
.
code
==
0
){
if
(
res
.
data
.
access_token
){
if
(
res
.
data
.
access_token
){
...
...
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