Commit d4445c09 by 周海峰

no message

parent 75b008ed
...@@ -14,6 +14,7 @@ import { query, getClassifyEnable, getGlobalOriginalConfig, changeGlobalOriginal ...@@ -14,6 +14,7 @@ import { query, getClassifyEnable, getGlobalOriginalConfig, changeGlobalOriginal
queryShemas, queryTables, querytableInfo, getfield, queryShemas, queryTables, querytableInfo, getfield,
queryOriginalList, queryEncryptionList queryOriginalList, queryEncryptionList
} from '@/api/classification/classification.js' } from '@/api/classification/classification.js'
import { id } from 'element-plus/es/locales.mjs'
const route = useRoute() const route = useRoute()
const projectId = ref('') const projectId = ref('')
// 树形数据 // 树形数据
...@@ -195,6 +196,7 @@ const handleNodeClick = async (data) => { ...@@ -195,6 +196,7 @@ const handleNodeClick = async (data) => {
if (res && res.data) { if (res && res.data) {
data.children = res.data.map(table => ({ data.children = res.data.map(table => ({
...table, ...table,
id: uuid(),
label: table.showName, label: table.showName,
type: 'table', type: 'table',
parent: data parent: data
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论