Skip to content

Commit c0979e2

Browse files
fix: bug
1 parent f32f158 commit c0979e2

File tree

16 files changed

+10
-7
lines changed

16 files changed

+10
-7
lines changed

ui/src/layout/login-layout/LoginLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const loginImage = computed(() => {
7979
return `${fileURL.value}`
8080
} else {
8181
const imgName = getThemeImg(theme.themeInfo?.theme)
82-
const imgPath = `../../assets/theme/${imgName}.jpg`
82+
const imgPath = `/ui/theme/${imgName}.jpg`
8383
const imageUrl = new URL(imgPath, import.meta.url).href
8484
return imageUrl
8585
}

ui/src/router/modules/document-resource-management.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DocumentRouter = {
2-
path: '/knowledge/resource/:id/',
2+
path: '/knowledge/resource-management/:id/',
33
name: 'KnowledgeDetailResourceManagement',
44
meta: { title: 'common.fileUpload.document', activeMenu: '/knowledge', breadcrumb: true },
55
component: () => import('@/layout/layout-template/MainLayout.vue'),

ui/src/router/modules/2knowledge-resource-management.ts renamed to ui/src/router/modules/knowledge-resource-management.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const ModelRouter = {
2-
path: '/knowledge/resource',
2+
path: '/knowledge/resource-management',
33
name: 'knowledgeResourceManagement',
44
meta: { title: 'views.knowledge.title', permission: 'KNOWLEDGE:READ' },
55
hidden: true,
@@ -8,7 +8,7 @@ const ModelRouter = {
88
children: [
99

1010
{
11-
path: '/knowledge/resource/document/upload/management',
11+
path: '/knowledge/resource-management/document/upload',
1212
name: 'UploadDocumentResourceManagement',
1313
meta: { activeMenu: '/knowledge/resource' },
1414
component: () => import('@/views/resource-management/document/UploadDocument.vue'),
File renamed without changes.

0 commit comments

Comments
 (0)