From a4db210c069cd45448067fffb39f070e9d119bb9 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 26 九月 2023 17:00:32 +0800
Subject: [PATCH] 修改家大事记 的图片文件上传 直调接口
---
ruoyi-ui/src/router/index.js | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index d438fa9..2006cca 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -1,7 +1,6 @@
import Vue from 'vue'
import Router from 'vue-router'
-import Index from '@/views/index'; // 棣栭〉缁勪欢
-import OtherPage from '@/views/shouye/shouye'; // 瑕佽烦杞殑椤甸潰缁勪欢
+import Shouye from '@/views/shouye/shouye.vue';
Vue.use(Router)
@@ -96,7 +95,26 @@
}
]
},
-
+ // {
+ // path: '',
+ // component: Layout,
+ // hidden: true,
+ // redirect: 'noredirect',
+ // children: [
+ // {
+ // path: 'shouye',
+ // component: () => import('@/views/shouye/shouye'),
+ // name: 'shouye',
+ // meta: { title: '閫氱煡璇︽儏' }
+ // }
+ // ]
+ // },
+ // {
+ // path: '/views/shouye/shouye',
+ // component: Layout,
+ // hidden: true,
+ // redirect: 'noredirect',
+ // }
]
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
@@ -117,14 +135,14 @@
},
//棣栭〉閫氱煡璇︽儏
{
- path:'/dashboard',
+ path:'/views/shouye',
component:Layout,
hidden: true,
permissions: ['familymodel:property:info'],
children: [
{
- path: 'shouye/:id(\\d+)',
+ path: '',
component: () => import('@/views/shouye/shouye'),
name: 'shouye',
meta: { title: '閫氱煡璇︽儏' }
--
Gitblit v1.9.1