From 78724a68b1a2c80c779d19d7ec86b4153288c79b Mon Sep 17 00:00:00 2001
From: chengdandan <2549057906@qq.com>
Date: Sun, 15 Jan 2023 09:55:14 +0800
Subject: [PATCH] 20230115
---
public/VideoWeb/index.html | 4 ++--
src/views/index.vue | 22 +++++++---------------
2 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/public/VideoWeb/index.html b/public/VideoWeb/index.html
index 11625e11..8e7629a3 100644
--- a/public/VideoWeb/index.html
+++ b/public/VideoWeb/index.html
@@ -152,9 +152,9 @@
//传触发数据
function getChuFa(string){
// console.log("string",string)
- // if(unity!=null){
+ if(unity!=null){
unity.SendMessage('AAA', 'SendJT_JianCeQi', string);
- // }
+ }
}
//获取图形数据
function getfigureData(string,string1,string2){
diff --git a/src/views/index.vue b/src/views/index.vue
index 1841fdb5..7098553b 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -28,7 +28,7 @@
-
+
@@ -368,19 +368,9 @@ export default {
loadingShow1: true,
number:'',
componentId:'',
- analysisConfigurationdata:{}
- // carInfo: [], //小车信息
- // carName: '',
- // palletizerInfo: [], //码垛机信息
- // palletizerName: '',
- // destackerInfo: [], //拆垛机信息
- // destackerName: '',
- // hoistInfo: [], //提升机信息’
- // hoistName: '',
- // battaryStationInfo: [],//快换电池装置
- // battaryStationName: "",
- // conveyorInfo: [], //输送机信息
- // conveyorName: "",
+ analysisConfigurationdata:{},
+ //触发数据
+ triggerData:''
};
},
@@ -396,7 +386,7 @@ destroyed: function () {
// window.getModifyTheName = this.getModifyTheNameN;
window.getSingleComponentId = this.getSingleComponentIdN;
window.getSimulationAreaEdit = this.getSimulationAreaEdit;
- window.OnScene = this.OnSceneN;
+ window.OnScene = this.OnSceneN;
this.getAllSectionalData(this.$route.query.id)
this.VideoId = this.$route.query.id
this.number = this.$route.query.num
@@ -505,6 +495,8 @@ destroyed: function () {
// console.log("temp",temp)
var detId = []
const msgN = JSON.parse(temp)
+ // console.log("msgN",msgN)
+ this.triggerData = msgN
if(temp.length!=0){
for (let i = 0; i < msgN.length; i++) {
detId.push(msgN[i].det_id)