diff --git a/pages/chat/chat.nvue b/pages/chat/chat.nvue index 479f6bc04132eabbeee0e435c2aaee1661570a8a..48617f06c7f678a445902bc0ae783eea33b6df67 100644 --- a/pages/chat/chat.nvue +++ b/pages/chat/chat.nvue @@ -858,7 +858,7 @@ name, size } = tempFile; - const {fileType} = tempFile + let {fileType} = tempFile if (!['image', 'video'].includes(fileType)) { fileType = 'file' }