mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
no message
This commit is contained in:
parent
34745fb3e5
commit
25c2a0d90e
@ -167,7 +167,7 @@ class User extends AbstractModel
|
||||
if (!$this->bot) {
|
||||
return 0;
|
||||
}
|
||||
$key = "getBotOwner::" . $this->userid;
|
||||
$key = "userBotOwner::" . $this->userid;
|
||||
return Cache::remember($key, now()->addMonth(), function() {
|
||||
return intval(UserBot::whereBotId($this->userid)->value('userid')) ?: $this->userid;
|
||||
});
|
||||
|
||||
@ -3,7 +3,7 @@ version: '3'
|
||||
services:
|
||||
php:
|
||||
container_name: "dootask-php-${APP_ID}"
|
||||
image: "kuaifan/php:swoole-8.0.rc12"
|
||||
image: "kuaifan/php:swoole-8.0.rc13"
|
||||
shm_size: "2gb"
|
||||
ulimits:
|
||||
core:
|
||||
|
||||
@ -941,10 +941,19 @@ export default {
|
||||
},
|
||||
|
||||
onClickEditor() {
|
||||
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
||||
this.clearSearchKey()
|
||||
this.updateEmojiQuick(this.value)
|
||||
},
|
||||
|
||||
clearSearchKey() {
|
||||
if (this.$parent.$options.name === 'DialogWrapper' && (this.$store.state.messengerSearchKey.dialog != '' || this.$store.state.messengerSearchKey.contacts != '')) {
|
||||
setTimeout(_ => {
|
||||
this.$parent.onActive();
|
||||
}, 10)
|
||||
}
|
||||
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
||||
},
|
||||
|
||||
focus() {
|
||||
this.$nextTick(() => {
|
||||
if (this.quill) {
|
||||
@ -1005,7 +1014,7 @@ export default {
|
||||
onSend(type) {
|
||||
this.hidePopover('send')
|
||||
this.rangeIndex = 0
|
||||
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
||||
this.clearSearchKey()
|
||||
if (type) {
|
||||
this.$emit('on-send', null, type)
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user