42 lines
687 B
Vue
42 lines
687 B
Vue
|
<template>
|
||
|
<div class="bim-roaming main-page">
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'BIMRoaming',
|
||
|
data(){
|
||
|
return {
|
||
|
dpi: "",
|
||
|
selProject:null,
|
||
|
}
|
||
|
},
|
||
|
mounted(){
|
||
|
this.$store.dispatch("ChangeNav", 702);
|
||
|
this.dpi = this.$dpi();
|
||
|
window.addEventListener("resize", () => {
|
||
|
if (this.dpi != this.$dpi()) {
|
||
|
this.dpi = this.$dpi();
|
||
|
}
|
||
|
});
|
||
|
this.$bus.$on(
|
||
|
"projectChange",
|
||
|
debounce((prj) => {
|
||
|
this.selProject = prj;
|
||
|
this.elId++;
|
||
|
})
|
||
|
);
|
||
|
this.selProject = this.$store.getters.selProject;
|
||
|
},
|
||
|
methods:{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="less">
|
||
|
.bim-roaming{
|
||
|
|
||
|
}
|
||
|
</style>
|