mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22: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) {
|
if (!$this->bot) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
$key = "getBotOwner::" . $this->userid;
|
$key = "userBotOwner::" . $this->userid;
|
||||||
return Cache::remember($key, now()->addMonth(), function() {
|
return Cache::remember($key, now()->addMonth(), function() {
|
||||||
return intval(UserBot::whereBotId($this->userid)->value('userid')) ?: $this->userid;
|
return intval(UserBot::whereBotId($this->userid)->value('userid')) ?: $this->userid;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -3,7 +3,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
php:
|
php:
|
||||||
container_name: "dootask-php-${APP_ID}"
|
container_name: "dootask-php-${APP_ID}"
|
||||||
image: "kuaifan/php:swoole-8.0.rc12"
|
image: "kuaifan/php:swoole-8.0.rc13"
|
||||||
shm_size: "2gb"
|
shm_size: "2gb"
|
||||||
ulimits:
|
ulimits:
|
||||||
core:
|
core:
|
||||||
|
|||||||
@ -941,10 +941,19 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onClickEditor() {
|
onClickEditor() {
|
||||||
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
this.clearSearchKey()
|
||||||
this.updateEmojiQuick(this.value)
|
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() {
|
focus() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.quill) {
|
if (this.quill) {
|
||||||
@ -1005,7 +1014,7 @@ export default {
|
|||||||
onSend(type) {
|
onSend(type) {
|
||||||
this.hidePopover('send')
|
this.hidePopover('send')
|
||||||
this.rangeIndex = 0
|
this.rangeIndex = 0
|
||||||
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
this.clearSearchKey()
|
||||||
if (type) {
|
if (type) {
|
||||||
this.$emit('on-send', null, type)
|
this.$emit('on-send', null, type)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user