bugfix display error msg
This commit is contained in:
parent
adaccb8c73
commit
500e7d27ee
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ export class ChatMsgBoxComponent {
|
||||||
const file = event.target.files[0];
|
const file = event.target.files[0];
|
||||||
const icon = this.checkIcon({ type: file.type });
|
const icon = this.checkIcon({ type: file.type });
|
||||||
if (icon !== null) {
|
if (icon !== null) {
|
||||||
|
this.fileDataError = false;
|
||||||
this.currentFiles = event.target.files;
|
this.currentFiles = event.target.files;
|
||||||
this.hasFile = this.currentFiles.length > 0;
|
this.hasFile = this.currentFiles.length > 0;
|
||||||
if (this.currentFiles) {
|
if (this.currentFiles) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue