From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示
---
src/router/views/index.js | 90 ++++++++++++++++++++------------------------
1 files changed, 41 insertions(+), 49 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 500ca0f..a2ee661 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -1,51 +1,43 @@
-import Index from '@/layout/index.vue';
-import Store from '@/store/';
-import Layout from '@/page/index/layout.vue';
+import Index from '@/layout/index.vue'
+import Store from '@/store/'
+import Layout from '@/page/index/layout.vue'
export default [
- {
- path: '/',
- component: () => import('@/layout/index.vue'),
- redirect: '/index',
- children: [
- {
- path: 'index',
- name: '首页',
- meta: {
- i18n: 'dashboard',
- },
- component: () => import(/* webpackChunkName: "home" */ '@/views/Home/Home.vue'),
- },
- {
- path: 'signMachineNest',
- name: '单个机巢详情',
- meta: {
- i18n: 'dashboard',
- menu: false,
- },
- component: () => import(/* webpackChunkName: "TaskManage" */ '@/views/SignMachineNest/SignMachineNest.vue'),
- },
- {
- path: 'taskManage',
- name: '任务管理',
- meta: {
- i18n: 'dashboard',
- menu: false,
- },
- component: () => import(/* webpackChunkName: "TaskManage" */ '@/views/TaskManage/TaskManage.vue'),
- },
- ],
- },
- {
- path: '/info',
- component: () => import('@/layout/index.vue'),
- redirect: '/info/index',
- children: [
- {
- path: 'index',
- name: '个人信息',
- component: () => import('@/views/System/Userinfo.vue'),
- },
- ],
- },
-];
+ {
+ path: '/',
+ component: () => import('@/layout/index.vue'),
+ redirect: '/index',
+ children: [
+ {
+ path: 'index',
+ name: '首页',
+ meta: {
+ i18n: 'dashboard',
+ },
+ component: () => import(/* webpackChunkName: "home" */ '@/views/Home/Home.vue'),
+ },
+ {
+ path: 'taskManage',
+ name: '任务管理',
+ meta: {
+ i18n: 'dashboard',
+ menu: false,
+ },
+ component: () =>
+ import(/* webpackChunkName: "TaskManage" */ '@/views/TaskManage/TaskManage.vue'),
+ },
+ ],
+ },
+ {
+ path: '/info',
+ component: () => import('@/layout/index.vue'),
+ redirect: '/info/index',
+ children: [
+ {
+ path: 'index',
+ name: '个人信息',
+ component: () => import('@/views/System/Userinfo.vue'),
+ },
+ ],
+ },
+]
--
Gitblit v1.9.3