Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a0632be9
authored
2024-12-30 22:32:39 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:数据库目录测试环境不显示
1 parent
e4eac53e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
a0632be
...
...
@@ -842,6 +842,7 @@ const getDataBaseTreeData = async () => {
const
res
:
any
=
await
getDbDirTreeList
({});
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
dataArray
=
[
res
.
data
];
console
.
log
(
'dataArray'
,
dataArray
,
typeof
dataArray
);
// 遍历并添加 GUIDs
dataArray
.
forEach
(
addGuids
);
// 更新到绑定的响应式数据
...
...
@@ -861,7 +862,7 @@ const addGuids = (node) => {
node
.
guid
=
node
.
tableGuid
;
node
.
name
=
node
.
tableChName
;
}
else
{
node
.
guid
=
crypto
.
randomUUID
()
;
node
.
guid
=
'1'
;
node
.
name
=
node
.
cgDirName
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment