代码调整

This commit is contained in:
dong 2022-12-02 16:03:51 +08:00
parent 9f205b7766
commit 79514913bd
2 changed files with 5 additions and 2 deletions

View File

@ -76,6 +76,9 @@ export default {
if (val.path == '/simulation/multiplayerSimulation') { if (val.path == '/simulation/multiplayerSimulation') {
this.quickEntry(); this.quickEntry();
} }
if (val.path == '/display/demon' && val.query.client == 'diagramEdit') { //
this.loading = false;
}
} }
}, },
created() { created() {

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div v-if="isShow" class="terminalList"> <div v-if="isShow && terminalList.length" class="terminalList">
<div v-for="(eachTerminal,index) in terminalList" :key="index" :class="picture==eachTerminal.code?'eachTerminal active':'eachTerminal'" @click="eachTerminal.click(eachTerminal.code)">{{ eachTerminal.name }}</div> <div v-for="(eachTerminal,index) in terminalList" :key="index" :class="picture==eachTerminal.code?'eachTerminal active':'eachTerminal'" @click="eachTerminal.click(eachTerminal.code)">{{ eachTerminal.name }}</div>
</div> </div>
</div> </div>
@ -100,7 +100,7 @@ export default {
{ {
name: '运行图编制', name: '运行图编制',
code: 'diagramEdit', code: 'diagramEdit',
roleList: ['DISPATCHER'], roleList: [],
click: this.changePictureShow click: this.changePictureShow
}, },
{ {