mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
This commit is contained in:
parent
8f98b7188d
commit
e9d7decef8
|
|
@ -0,0 +1,17 @@
|
|||
const ParagraphRouter = {
|
||||
path: '/paragraph/:id/:documentId',
|
||||
name: 'Paragraph',
|
||||
meta: { title: 'common.fileUpload.document', activeMenu: '/knowledge', breadcrumb: true },
|
||||
component: () => import('@/layout/layout-template/SimpleLayout.vue'),
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: '/paragraph/:id/:documentId',
|
||||
name: 'Paragraph1',
|
||||
meta: { activeMenu: '/knowledge' },
|
||||
component: () => import('@/views/paragraph/index.vue'),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
export default ParagraphRouter
|
||||
|
|
@ -65,7 +65,7 @@ const useLoginStore = defineStore('user', {
|
|||
this.XPACK_LICENSE_IS_VALID = true
|
||||
|
||||
if (this.isEnterprise()) {
|
||||
await this.theme()
|
||||
// await this.theme()
|
||||
} else {
|
||||
this.themeInfo = {
|
||||
...defaultPlatformSetting
|
||||
|
|
|
|||
|
|
@ -768,7 +768,7 @@ function rowClickHandle(row: any, column: any) {
|
|||
return
|
||||
}
|
||||
|
||||
router.push({ path: `/dataset/${id}/${row.id}` })
|
||||
router.push({ path: `/knowledge/${id}/${row.id}` })
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@
|
|||
<script setup lang="ts">
|
||||
import { reactive, ref, onMounted, computed } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import documentApi from '@/api/document'
|
||||
import documentApi from '@/api/knowledge/document'
|
||||
import paragraphApi from '@/api/knowledge/paragraph'
|
||||
import ParagraphDialog from './component/ParagraphDialog.vue'
|
||||
import SelectDocumentDialog from './component/SelectDocumentDialog.vue'
|
||||
|
|
|
|||
Loading…
Reference in New Issue