Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_007
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
cc_mz_007
Commits
c3d3d408
Commit
c3d3d408
authored
Sep 21, 2020
by
Li Mingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 渲染问题
parent
196c0114
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
form.component.html
form/src/app/form/form.component.html
+0
-1
form.component.ts
form/src/app/form/form.component.ts
+22
-1
No files found.
form/src/app/form/form.component.html
View file @
c3d3d408
<div
class=
"model-content"
>
<div
class=
"model-content"
>
<div
style=
"padding: 20px"
>
<div
style=
"padding: 20px"
>
<div
*
ngFor=
"let group of groupArr; let gIdx = index;"
>
<div
*
ngFor=
"let group of groupArr; let gIdx = index;"
>
...
...
form/src/app/form/form.component.ts
View file @
c3d3d408
...
@@ -89,7 +89,28 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -89,7 +89,28 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this
.
item
.
groupArr
=
[];
this
.
item
.
groupArr
=
[];
}
}
this
.
groupArr
=
this
.
item
.
groupArr
;
this
.
groupArr
=
[];
this
.
curNgIndex
=
0
;
this
.
setAngularArr
();
}
curNgIndex
=
0
setAngularArr
()
{
if
(
this
.
item
.
groupArr
.
length
<=
0
)
{
return
;
}
if
(
this
.
item
.
groupArr
[
this
.
curNgIndex
])
{
this
.
groupArr
[
this
.
curNgIndex
]
=
this
.
item
.
groupArr
[
this
.
curNgIndex
];
setTimeout
(()
=>
{
this
.
curNgIndex
++
;
this
.
setAngularArr
();
},
1
);
}
}
}
...
...
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