Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowable-engine-fontend
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
王万里
flowable-engine-fontend
Commits
01a6cf66
Commit
01a6cf66
authored
May 17, 2021
by
王万里
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 数组去重
parent
a415066f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
stencil-controller.js
editor-app/stencil-controller.js
+9
-1
No files found.
editor-app/stencil-controller.js
View file @
01a6cf66
...
@@ -410,7 +410,15 @@ angular.module('flowableModeler')
...
@@ -410,7 +410,15 @@ angular.module('flowableModeler')
})
})
}
}
}
}
$http
({
method
:
'POST'
,
url
:
FLOWABLE
.
APP_URL
.
SaveColumnConfig
(
$rootScope
.
currentReadResourceId
,
decodeURI
(
formKey
)),
data
:
formArr
})
var
result
=
[];
var
obj
=
{};
for
(
var
i
=
0
;
i
<
formArr
.
length
;
i
++
){
if
(
!
obj
[
formArr
[
i
].
FieldCode
]){
result
.
push
(
formArr
[
i
]);
obj
[
formArr
[
i
].
FieldCode
]
=
true
;
}
}
$http
({
method
:
'POST'
,
url
:
FLOWABLE
.
APP_URL
.
SaveColumnConfig
(
$rootScope
.
currentReadResourceId
,
decodeURI
(
formKey
)),
data
:
result
})
.
success
(
function
(
res
)
{
.
success
(
function
(
res
)
{
// console.log(res)
// console.log(res)
})
})
...
...
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