Commit a5a74a5b authored by 张伯涛's avatar 张伯涛

ar参数

parent 90dfc7b9
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment