fix string literal bug

This commit is contained in:
Phillip 2023-02-17 00:36:53 +02:00
parent 2280447979
commit f925f8bf43

View File

@ -3423,7 +3423,7 @@ console.log({zipFileBlob})
const image = this.imageFile const image = this.imageFile
const id = this.uid(); const id = this.uid();
const identifier = qchat_${id}; const identifier = `qchat_${id}`;
let compressedFile = ''; let compressedFile = '';
await new Promise(resolve => { await new Promise(resolve => {
new Compressor( image, { new Compressor( image, {
@ -3520,7 +3520,7 @@ console.log({zipFileBlob})
const attachment = this.attachment; const attachment = this.attachment;
const id = this.uid(); const id = this.uid();
const identifier = qchat_${id}; const identifier = `qchat_${id}`;
const fileSize = attachment.size; const fileSize = attachment.size;
if (fileSize > 1000000) { if (fileSize > 1000000) {
parentEpml.request('showSnackBar', get("chatpage.cchange77")); parentEpml.request('showSnackBar', get("chatpage.cchange77"));