Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
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
ops
luna
Commits
0eca941d
Commit
0eca941d
authored
Jun 03, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] 修复刷新侧率
parent
9f524f1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
asset-tree.component.ts
src/app/elements/asset-tree/asset-tree.component.ts
+9
-1
No files found.
src/app/elements/asset-tree/asset-tree.component.ts
View file @
0eca941d
...
...
@@ -64,6 +64,14 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
getGrantedAssetsNodes
()
{
this
.
_http
.
get_my_granted_nodes
()
.
subscribe
(
response
=>
{
this
.
Data
=
[...
response
,
...
this
.
Data
];
this
.
draw
();
});
}
refreshGrantedAssetsNodes
()
{
this
.
_http
.
refresh_my_granted_nodes
()
.
subscribe
(
response
=>
{
this
.
Data
=
[...
response
,
...
this
.
Data
];
this
.
draw
();
...
...
@@ -104,7 +112,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
refreshNodes
()
{
this
.
zTree
.
destroy
();
this
.
Data
=
[];
this
.
get
GrantedAssetsNodes
();
this
.
refresh
GrantedAssetsNodes
();
this
.
getGrantedRemoteApps
();
}
...
...
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