diff --git a/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js b/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js index 9a10d6c14..429994ab6 100644 --- a/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js +++ b/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js @@ -43,18 +43,23 @@ export function PassflowConnect(deviceaction,toptrain,downtrain,routegroup,passe } /** 站台客流当前人数信息 */ if(data.type == "STAND_PFI"){ - // console.log(data); + let newStandData = data.body; let count = 0; for(let j=0;j - +
@@ -341,6 +341,9 @@ export default { updateEditSelectAsset(selsetAsset,selectData){ console.log(selectData); if(this.nowSelect != null){ + if(selsetAsset == "clear"){ + + } if(selectData.fileType == "model"){ if(selsetAsset == "sceneEdit"){ this.sceneAssetList[this.nowSelect].id = selectData.id; diff --git a/src/views/jlmap3d/edit/component/assets.vue b/src/views/jlmap3d/edit/component/assets.vue index f5d7f2383..4bb3fac9e 100644 --- a/src/views/jlmap3d/edit/component/assets.vue +++ b/src/views/jlmap3d/edit/component/assets.vue @@ -20,7 +20,7 @@ - + @@ -175,6 +175,9 @@ export default { // this.$emit('smodel',this.modelList[index]); updateEditSelectAsset(this.nowAssetName,this.nowAssetList[index]); }, + clearModel(){ + updateEditSelectAsset("clear"); + }, //刷新资源库显示 updateAssetList(newdata,newtype){ console.log(newdata);