Commit 3e3e3954 authored by limingzhe's avatar limingzhe

fix: debug

parent 7cd01494
<div class="position-relative" style="border: 1px #bbb solid; padding: 10px; border-radius: 10px;"> <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 <nz-upload
nzAction="http://staging-teach.ireadabc.com/fileUpload" nzAction="http://staging-teach.ireadabc.com/fileUpload"
......
...@@ -16,6 +16,9 @@ export class FormGroupComponent implements OnDestroy, OnChanges { ...@@ -16,6 +16,9 @@ export class FormGroupComponent implements OnDestroy, OnChanges {
@Input() @Input()
isChildren = false; isChildren = false;
@Input()
canUploadDir = true;
@Output() @Output()
save = new EventEmitter(); save = new EventEmitter();
......
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
<h1>整体设置:</h1> <h1>整体设置:</h1>
<app-form-group <app-form-group
[group_arr]="item.global_setting || []" [group_arr]="item.global_setting || []"
[canUploadDir]="false"
(uploadDirector)="uploadDirectorFinishGlobal($event)" (uploadDirector)="uploadDirectorFinishGlobal($event)"
(save)="saveFormGroupGlobal($event)" (save)="saveFormGroupGlobal($event)"
> >
...@@ -107,6 +108,7 @@ ...@@ -107,6 +108,7 @@
<h1>内容数据:</h1> <h1>内容数据:</h1>
<app-form-group <app-form-group
[group_arr]="item.group_arr || []" [group_arr]="item.group_arr || []"
[canUploadDir]="false"
(uploadDirector)="uploadDirectorFinish($event)" (uploadDirector)="uploadDirectorFinish($event)"
(save)="saveFormGroup($event)" (save)="saveFormGroup($event)"
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment