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
a5a74a5b
Commit
a5a74a5b
authored
Dec 06, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ar参数
parent
90dfc7b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
arDisplay.vue
src/views/Gis/arDisplay.vue
+5
-1
No files found.
src/views/Gis/arDisplay.vue
View file @
a5a74a5b
...
...
@@ -89,8 +89,10 @@ export default {
const
serverIP
=
localStorage
.
getItem
(
"SERVEICE"
);
if
(
serverIP
===
"http://192.168.1.252:8001"
)
{
this
.
arIp
=
this
.
raData
.
ip
;
this
.
domainId
=
0
;
}
else
{
this
.
arIp
=
"111.160.132.74"
;
this
.
domainId
=
103
;
}
const
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
);
...
...
@@ -108,7 +110,7 @@ export default {
// const height = window.innerHeight-25;
// const protocolType = this.protocolType
const
protocolType
=
'https'
const
domainId
=
103
const
domainId
=
this
.
domainId
const
title
=
'AR车间'
this
.
control
=
new
ARWebControl
(
"ar-div"
,
...
...
@@ -125,7 +127,9 @@ export default {
// 程序挂载成功
window
.
addEventListener
(
"ar_start"
,
event
=>
{
console
.
log
(
'kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk'
)
setTimeout
(
function
()
{
this
.
videoLoading
=
false
},
3000
);
});
window
.
addEventListener
(
"ar_loaded"
,
event
=>
{
console
.
log
(
'ar_loadedar_loadedar_loadedar_loadedar_loaded'
)
...
...
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