no message

This commit is contained in:
kuaifan 2022-06-23 11:37:05 +08:00
parent dee12941c0
commit d0bc85346e
4 changed files with 19 additions and 4 deletions

View File

@ -451,6 +451,9 @@ export default {
},
dialogInputCache() {
if (this.isFocus) {
return
}
this.$emit('input', this.getInputCache())
},
@ -669,13 +672,13 @@ export default {
},
getInputCache() {
const key = this.dialogId || this.taskId;
const key = this.dialogId || `t_${this.taskId}`;
const item = this.dialogInputCache.find(item => item.key == key);
return item ? item.cache : '';
},
setInputCache(cache) {
const key = this.dialogId || this.taskId;
const key = this.dialogId || `t_${this.taskId}`;
const index = this.dialogInputCache.findIndex(item => item.key == key);
const data = {key, cache}
if (index > -1) {

View File

@ -324,7 +324,7 @@ export default {
operateHasText: false,
operateStyles: {},
operateItem: {},
operateEmojis: ['👌', '🤝', '🥳', '❤️', '👍', '👎', '🥰', '🥶', '✅', '❌', '❓'],
operateEmojis: ['👌', '🤝', '🎉', '❤️', '👍', '🥰', '🥳️', '✅', '❌', '⭕️', '', '🚀', '👀'],
recordState: '',
wrapperStart: {},

View File

@ -165,6 +165,10 @@
text-overflow: ellipsis;
}
}
.mention {
-webkit-user-select: auto;
}
}
}

View File

@ -1069,7 +1069,7 @@
box-sizing: content-box;
display: flex;
flex-shrink: 0;
font-size: 24px;
font-size: 22px;
justify-content: center;
align-items: center;
}
@ -1219,4 +1219,12 @@
}
}
}
.dialog-wrapper-operate {
.operate-emoji {
> li {
font-size: 24px;
}
}
}
}