mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 02:08:45 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
		| @@ -76,7 +76,7 @@ const toggleClick = () => { | ||||
|       v-if="title" | ||||
|       :class="[ | ||||
|         `${prefixCls}-header`, | ||||
|         'h-50px flex justify-between items-center mb-10px border-bottom-1 border-solid border-[var(--tags-view-border-color)] px-10px cursor-pointer dark:border-[var(--el-border-color)]' | ||||
|         'h-50px flex justify-between items-center border-bottom-1 border-solid border-[var(--tags-view-border-color)] px-10px cursor-pointer dark:border-[var(--el-border-color)]' | ||||
|       ]" | ||||
|       @click="toggleClick" | ||||
|     > | ||||
|   | ||||
| @@ -178,7 +178,7 @@ defineExpose({ | ||||
| </script> | ||||
|  | ||||
| <template> | ||||
|   <div class="border-1 border-solid border-[var(--tags-view-border-color)] z-3000"> | ||||
|   <div class="border-1 border-solid border-[var(--tags-view-border-color)] z-99"> | ||||
|     <!-- 工具栏 --> | ||||
|     <Toolbar | ||||
|       :editor="editorRef" | ||||
|   | ||||
| @@ -37,7 +37,7 @@ export default defineComponent({ | ||||
|     }) | ||||
|  | ||||
|     const getBreadcrumb = () => { | ||||
|       const currentPath = currentRoute.value.path | ||||
|       const currentPath = currentRoute.value.matched.slice(-1)[0].path | ||||
|  | ||||
|       levelList.value = filter<AppRouteRecordRaw>(unref(menuRouters), (node: AppRouteRecordRaw) => { | ||||
|         return node.path === currentPath | ||||
| @@ -47,7 +47,7 @@ export default defineComponent({ | ||||
|     const renderBreadcrumb = () => { | ||||
|       const breadcrumbList = treeToList<AppRouteRecordRaw[]>(unref(levelList)) | ||||
|       return breadcrumbList.map((v) => { | ||||
|         const disabled = v.redirect === 'noredirect' | ||||
|         const disabled = !v.redirect || v.redirect === 'noredirect' | ||||
|         const meta = v.meta as RouteMeta | ||||
|         return ( | ||||
|           <ElBreadcrumbItem to={{ path: disabled ? '' : v.path }} key={v.name}> | ||||
|   | ||||
| @@ -52,7 +52,7 @@ | ||||
| import { VxeTableInstance } from 'vxe-table' | ||||
| import type { DatabaseTableVO } from '@/api/infra/codegen/types' | ||||
| import { getSchemaTableListApi, createCodegenListApi } from '@/api/infra/codegen' | ||||
| import { getDataSourceConfigListApi, DataSourceConfigVO } from '@/api/infra/dataSourceConfig' | ||||
| import { getDataSourceConfigList, DataSourceConfigVO } from '@/api/infra/dataSourceConfig' | ||||
|  | ||||
| const { t } = useI18n() // 国际化 | ||||
| const message = useMessage() // 消息弹窗 | ||||
| @@ -67,9 +67,9 @@ const queryParams = reactive({ | ||||
| }) | ||||
| const dataSourceConfigs = ref<DataSourceConfigVO[]>([]) | ||||
| const show = async () => { | ||||
|   const res = await getDataSourceConfigListApi() | ||||
|   const res = await getDataSourceConfigList() | ||||
|   dataSourceConfigs.value = res | ||||
|   queryParams.dataSourceConfigId = dataSourceConfigs.value[0].id | ||||
|   queryParams.dataSourceConfigId = dataSourceConfigs.value[0].id as number | ||||
|   visible.value = true | ||||
|   await getList() | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV