This commit is contained in:
Tony 2023-11-28 17:08:07 +08:00
parent 6131efe6e9
commit 41b303f73c

View File

@ -3,8 +3,9 @@
<operate-home v-if="port === '9150'"></operate-home> <operate-home v-if="port === '9150'"></operate-home>
<energy-home v-else-if="port === '9160'"></energy-home> <energy-home v-else-if="port === '9160'"></energy-home>
<machinery-home v-else-if="port === '9170'"></machinery-home> <machinery-home v-else-if="port === '9170'"></machinery-home>
<operate-home v-else-if="port === '80' || port === ''"></operate-home>
<deviceMap v-else-if="port === '9190'"></deviceMap> <deviceMap v-else-if="port === '9190'"></deviceMap>
<cityManageMap v-else-if="port === '9180'" />
<operate-home v-else-if="port === '80' || port === ''"></operate-home>
<home-page v-else></home-page> <home-page v-else></home-page>
</div> </div>
</template> </template>
@ -14,6 +15,7 @@ import OperateHome from './operation/home/index.vue'
import EnergyHome from './energy/home/index.vue' import EnergyHome from './energy/home/index.vue'
import MachineryHome from './machinery/home/index.vue' import MachineryHome from './machinery/home/index.vue'
import deviceMap from './monitorMap/deviceMap/index.vue' import deviceMap from './monitorMap/deviceMap/index.vue'
import cityManageMap from './cityManage/map/index.vue'
export default { export default {
components: { components: {
HomePage, HomePage,