# 이슈사항
133 쪽찌 이미지 선택화면에서 이미지만 보여주지 않음 :: 이미지는 이미지만 보여지고, 첨부파일은 전체파일을 선택할 수 있도록 수정.
This commit is contained in:
parent
edcf2a48cd
commit
8ae5e6831c
|
@ -151,6 +151,7 @@ export class WriteComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
onClickImage() {
|
onClickImage() {
|
||||||
|
this.fileInput.nativeElement.setAttribute('accept', 'image/*');
|
||||||
this.fileInput.nativeElement.click();
|
this.fileInput.nativeElement.click();
|
||||||
const self = this;
|
const self = this;
|
||||||
this.fileInput.nativeElement.onchange = async () => {
|
this.fileInput.nativeElement.onchange = async () => {
|
||||||
|
@ -172,6 +173,7 @@ export class WriteComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
onClickAttachment() {
|
onClickAttachment() {
|
||||||
|
this.fileInput.nativeElement.removeAttribute('accept');
|
||||||
this.fileInput.nativeElement.click();
|
this.fileInput.nativeElement.click();
|
||||||
const self = this;
|
const self = this;
|
||||||
this.fileInput.nativeElement.onchange = () => {
|
this.fileInput.nativeElement.onchange = () => {
|
||||||
|
@ -519,7 +521,7 @@ export class WriteComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||||
employeeType: EmployeeType.Regular,
|
employeeType: EmployeeType.Regular,
|
||||||
nickName: '',
|
nickName: '',
|
||||||
|
|
||||||
order:''
|
order: ''
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user