Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG23
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
DG23
Commits
3e3e3954
Commit
3e3e3954
authored
Nov 21, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
7cd01494
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
form-group.component.html
form/src/app/common/form-group/form-group.component.html
+1
-1
form-group.component.ts
form/src/app/common/form-group/form-group.component.ts
+3
-0
form.component.html
form/src/app/form/form.component.html
+2
-0
No files found.
form/src/app/common/form-group/form-group.component.html
View file @
3e3e3954
<div
class=
"position-relative"
style=
"border: 1px #bbb solid; padding: 10px; border-radius: 10px;"
>
<div
*
ngIf=
"!isChildren"
style=
"width: 100%; "
>
<div
*
ngIf=
"!isChildren
&& canUploadDir
"
style=
"width: 100%; "
>
<nz-upload
nzAction=
"http://staging-teach.ireadabc.com/fileUpload"
...
...
form/src/app/common/form-group/form-group.component.ts
View file @
3e3e3954
...
...
@@ -16,6 +16,9 @@ export class FormGroupComponent implements OnDestroy, OnChanges {
@
Input
()
isChildren
=
false
;
@
Input
()
canUploadDir
=
true
;
@
Output
()
save
=
new
EventEmitter
();
...
...
form/src/app/form/form.component.html
View file @
3e3e3954
...
...
@@ -95,6 +95,7 @@
<h1>
整体设置:
</h1>
<app-form-group
[
group_arr
]="
item
.
global_setting
||
[]"
[
canUploadDir
]="
false
"
(
uploadDirector
)="
uploadDirectorFinishGlobal
($
event
)"
(
save
)="
saveFormGroupGlobal
($
event
)"
>
...
...
@@ -107,6 +108,7 @@
<h1>
内容数据:
</h1>
<app-form-group
[
group_arr
]="
item
.
group_arr
||
[]"
[
canUploadDir
]="
false
"
(
uploadDirector
)="
uploadDirectorFinish
($
event
)"
(
save
)="
saveFormGroup
($
event
)"
>
...
...
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