fix: Bug

This commit is contained in:
Tony 2023-11-10 17:02:44 +08:00
parent 69ca122d14
commit 76d503e94e

View File

@ -1,6 +1,7 @@
<template>
<div>
<operate-home v-if="port === '9150'"></operate-home>
<energy-home v-else-if="port === '9160'"></energy-home>
<operate-home v-else-if="port === '80' || port === ''"></operate-home>
<home-page v-else></home-page>
</div>
@ -8,11 +9,13 @@
<script>
import HomePage from './home.vue'
import OperateHome from './operation/home/index.vue'
import EnergyHome from './energy/home/index.vue'
export default {
components: {
HomePage,
OperateHome
OperateHome,
EnergyHome
},
data() {
return {