Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
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
海康威视
web-project
Commits
5ec03a67
Commit
5ec03a67
authored
Dec 04, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ar问题修改
parent
4f8d0409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
arDisplay.vue
src/views/Gis/arDisplay.vue
+12
-10
No files found.
src/views/Gis/arDisplay.vue
View file @
5ec03a67
...
...
@@ -67,7 +67,7 @@ export default {
},
beforeDestroy
()
{
if
(
this
.
control
)
{
this
.
control
.
setWindowStatus
(
0
);
this
.
control
.
setWindowStatus
(
2
);
this
.
control
=
null
;
}
},
...
...
@@ -100,20 +100,22 @@ export default {
}
},
init
()
{
// 初始化
if
(
this
.
control
)
{
this
.
control
.
setWindowStatus
(
0
);
this
.
control
=
null
;
}
console
.
log
(
'window.innerWidth'
,
window
.
innerWidth
)
console
.
log
(
'window.innerHeight'
,
window
.
innerHeight
)
// // 初始化
// if (this.control) {
// this.control.setWindowStatus(2);
// this.control = null;
// }
const
loginType
=
3
;
const
ip
=
'111.160.132.74'
;
const
port
=
this
.
raData
.
port
;
const
userName
=
this
.
raData
.
username
;
const
loginKey
=
this
.
raData
.
tgc
;
const
left
=
'
1
0'
;
const
top
=
'1
5
0'
;
const
width
=
'1900'
;
const
height
=
'850'
;
const
left
=
'0'
;
const
top
=
'1
0
0'
;
const
width
=
window
.
innerWidth
;
const
height
=
window
.
innerHeight
-
25
;
// const protocolType = this.protocolType
const
protocolType
=
'https'
const
domainId
=
103
...
...
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