fix: Bug
This commit is contained in:
parent
69ca122d14
commit
76d503e94e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user