no message

This commit is contained in:
kuaifan 2021-09-21 17:20:27 +08:00
parent 450cc19477
commit ea2ae8a880
5 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "DooTask", "name": "DooTask",
"version": "0.3.27", "version": "0.3.28",
"description": "DooTask is task management system.", "description": "DooTask is task management system.",
"scripts": { "scripts": {
"start": "./cmd dev", "start": "./cmd dev",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -71,7 +71,7 @@
@on-keydown="chatKeydown" @on-keydown="chatKeydown"
@on-input-paste="pasteDrag" @on-input-paste="pasteDrag"
:placeholder="$L('输入消息...')" /> :placeholder="$L('输入消息...')" />
<div v-if="msgText" class="dialog-send" @click="sendMsg"> <div v-if="msgText != ''" class="dialog-send" @click="sendMsg">
<Icon type="md-send" /> <Icon type="md-send" />
</div> </div>
<DialogUpload <DialogUpload
@ -199,7 +199,7 @@ export default {
this.msgText = text; this.msgText = text;
this.$refs.input.focus(); this.$refs.input.focus();
} }
if (!this.msgText) { if (this.msgText == '') {
return; return;
} }
let tempId = $A.randomString(16); let tempId = $A.randomString(16);