Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
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
jumpserver
Commits
91b2def7
Commit
91b2def7
authored
Aug 15, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改nodes过多时创建比较麻烦
parent
b81c52ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
asset_create.html
apps/assets/templates/assets/asset_create.html
+3
-1
asset_permission_create_update.html
...perms/templates/perms/asset_permission_create_update.html
+2
-1
No files found.
apps/assets/templates/assets/asset_create.html
View file @
91b2def7
...
...
@@ -127,7 +127,9 @@ $(document).ready(function () {
var
results
=
$
.
map
(
data
.
results
,
function
(
v
,
i
)
{
return
{
id
:
v
.
id
,
text
:
v
.
full_value
}
});
return
{
results
:
results
,
pagination
:
{
"more"
:
true
}}
var
more
=
!!
data
.
next
;
console
.
log
(
more
);
return
{
results
:
results
,
pagination
:
{
"more"
:
more
}}
}
},
});
...
...
apps/perms/templates/perms/asset_permission_create_update.html
View file @
91b2def7
...
...
@@ -132,7 +132,8 @@ $(document).ready(function () {
var
results
=
$
.
map
(
data
.
results
,
function
(
v
,
i
)
{
return
{
id
:
v
.
id
,
text
:
v
.
full_value
}
});
return
{
results
:
results
,
pagination
:
{
"more"
:
true
}}
var
more
=
!!
data
.
next
;
return
{
results
:
results
,
pagination
:
{
"more"
:
more
}}
}
},
});
...
...
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