修改菜单

dev_zt
wangqiujuan0808 2023-11-01 13:17:30 +08:00
parent ccbaaed0aa
commit 6cc29c6428
4 changed files with 13 additions and 13 deletions

View File

@ -5,7 +5,7 @@
</div> </div>
<div class="content"> <div class="content">
<Bindex v-if="index === 0"/> <Bindex v-if="index === 0"/>
<Report v-else-if="index === 1"/> <Zhibiao v-else-if="index === 1"/>
<Analyse v-else-if="index === 2"/> <Analyse v-else-if="index === 2"/>
<History v-else-if="index === 3"/> <History v-else-if="index === 3"/>
</div> </div>
@ -15,7 +15,7 @@
<script> <script>
import Menus from "@/components/Menus.vue"; import Menus from "@/components/Menus.vue";
import Bindex from "@/components/Bindex.vue"; import Bindex from "@/components/Bindex.vue";
import Report from "@/components/Report.vue"; import Zhibiao from "@/components/Zhibiao.vue";
import Analyse from "@/components/Analyse.vue"; import Analyse from "@/components/Analyse.vue";
import History from "@/components/History.vue"; import History from "@/components/History.vue";
import { onMounted, reactive, ref, toRefs, nextTick } from "vue"; import { onMounted, reactive, ref, toRefs, nextTick } from "vue";
@ -24,7 +24,7 @@ export default {
components: { components: {
Menus, Menus,
Bindex, Bindex,
Report, Zhibiao,
Analyse, Analyse,
History History
}, },
@ -36,7 +36,7 @@ export default {
name: '首页', name: '首页',
}, },
{ {
name: '气象预报', name: '监测指标',
}, },
{ {
name: '数据分析', name: '数据分析',

View File

@ -5,7 +5,7 @@
</div> </div>
<div class="content"> <div class="content">
<Cindex v-if="index === 0"/> <Cindex v-if="index === 0"/>
<Report v-else-if="index === 1"/> <Zhibiao v-else-if="index === 1"/>
<Ganalyse v-else-if="index === 2"/> <Ganalyse v-else-if="index === 2"/>
<History v-else-if="index === 3"/> <History v-else-if="index === 3"/>
</div> </div>
@ -15,7 +15,7 @@
<script> <script>
import Menus from "@/components/Menus.vue"; import Menus from "@/components/Menus.vue";
import Cindex from "@/components/Cindex.vue"; import Cindex from "@/components/Cindex.vue";
import Report from "@/components/Report.vue"; import Zhibiao from "@/components/Zhibiao.vue";
import Ganalyse from "@/components/Ganalyse.vue"; import Ganalyse from "@/components/Ganalyse.vue";
import History from "@/components/History.vue"; import History from "@/components/History.vue";
import { onMounted, reactive, ref, toRefs, nextTick } from "vue"; import { onMounted, reactive, ref, toRefs, nextTick } from "vue";
@ -24,7 +24,7 @@ export default {
components: { components: {
Menus, Menus,
Cindex, Cindex,
Report, Zhibiao,
Ganalyse, Ganalyse,
History History
}, },
@ -36,7 +36,7 @@ export default {
name: '首页', name: '首页',
}, },
{ {
name: '测指标', name: '测指标',
}, },
{ {
name: '数据分析', name: '数据分析',

View File

@ -36,7 +36,7 @@ export default {
name: '首页', name: '首页',
}, },
{ {
name: '测指标', name: '测指标',
}, },
{ {
name: '数据分析', name: '数据分析',

View File

@ -5,7 +5,7 @@
</div> </div>
<div class="content"> <div class="content">
<Sindex v-if="index === 0"/> <Sindex v-if="index === 0"/>
<Report v-else-if="index === 1"/> <Zhibiao v-else-if="index === 1"/>
<Analyse v-else-if="index === 2"/> <Analyse v-else-if="index === 2"/>
<History v-else-if="index === 3"/> <History v-else-if="index === 3"/>
</div> </div>
@ -15,7 +15,7 @@
<script> <script>
import Menus from "@/components/Menus.vue"; import Menus from "@/components/Menus.vue";
import Sindex from "@/components/Sindex.vue"; import Sindex from "@/components/Sindex.vue";
import Report from "@/components/Report.vue"; import Zhibiao from "@/components/Zhibiao.vue";
import Analyse from "@/components/Analyse.vue"; import Analyse from "@/components/Analyse.vue";
import History from "@/components/History.vue"; import History from "@/components/History.vue";
import { onMounted, reactive, ref, toRefs, nextTick } from "vue"; import { onMounted, reactive, ref, toRefs, nextTick } from "vue";
@ -24,7 +24,7 @@ export default {
components: { components: {
Menus, Menus,
Sindex, Sindex,
Report, Zhibiao,
Analyse, Analyse,
History History
}, },
@ -36,7 +36,7 @@ export default {
name: '首页', name: '首页',
}, },
{ {
name: '气象预报', name: '监测指标',
}, },
{ {
name: '数据分析', name: '数据分析',