Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-front
Commits
bc951d2e
Commit
bc951d2e
authored
Nov 07, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
ffafd23b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
files.vue
pages/document/files.vue
+4
-2
No files found.
pages/document/files.vue
View file @
bc951d2e
...
...
@@ -315,6 +315,7 @@
})
}
}
console
.
log
(
this
.
folderList
,
9999999
)
},
onReachBottom
()
{
if
(
this
.
status
==
'loadmore'
)
{
...
...
@@ -417,13 +418,14 @@
})
},
onGetFolder
()
{
let
lastObj
=
this
.
folderList
[
this
.
folderList
.
length
-
1
]
let
lastObj
=
this
.
folderList
[
this
.
folderList
.
length
-
1
];
console
.
log
(
lastObj
,
'lastObj'
)
if
(
lastObj
.
leaf
==
'1'
){
this
.
onGetList
();
}
else
{
getProjTreeData
({
node
:
lastObj
.
code
,
projCode
:
lastObj
.
c
ode
projCode
:
lastObj
.
projC
ode
}).
then
(
res
=>
{
this
.
onGetList
();
this
.
folders
=
toJsonData
(
res
.
data
.
__blocks__
[
lastObj
.
code
].
rows
,
res
.
data
.
__blocks__
[
lastObj
.
code
].
meta
.
columns
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment