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
094d58c1
authored
2024-12-30 22:22:03 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:数据库目录请求失败
1 parent
b8cf6889
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
094d58c
...
...
@@ -839,7 +839,6 @@ const handleClick = (tab: any) => {
const
dataBaseTreeData
=
ref
<
any
>
();
const
getDataBaseTreeData
=
async
()
=>
{
dataBaseTreeInfo
.
value
.
loading
=
true
;
try
{
const
res
:
any
=
await
getDbDirTreeList
({});
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
dataArray
=
[
res
.
data
];
...
...
@@ -848,14 +847,10 @@ const getDataBaseTreeData = async () => {
// 更新到绑定的响应式数据
dataBaseTreeData
.
value
=
dataArray
;
dataBaseTreeInfo
.
value
.
data
=
dataArray
;
dataBaseTreeInfo
.
value
.
loading
=
false
;
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
}
catch
(
error
)
{
proxy
.
$ElMessage
.
error
(
'请求失败'
);
}
finally
{
dataBaseTreeInfo
.
value
.
loading
=
false
;
}
};
// 处理数据,给每个节点添加 GUID
const
addGuids
=
(
node
)
=>
{
...
...
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