mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-18 03:33:24 +00:00
no message
This commit is contained in:
parent
d013ab1e3c
commit
6b00aad904
@ -143,7 +143,7 @@
|
|||||||
<div class="msg-dialog-bg-icon"><Icon type="ios-chatbubbles" /></div>
|
<div class="msg-dialog-bg-icon"><Icon type="ios-chatbubbles" /></div>
|
||||||
<div class="msg-dialog-bg-text">{{$L('选择一个会话开始聊天')}}</div>
|
<div class="msg-dialog-bg-text">{{$L('选择一个会话开始聊天')}}</div>
|
||||||
</div>
|
</div>
|
||||||
<DialogWrapper v-if="windowLarge && dialogId > 0" :dialogId="dialogId" @on-active="scrollIntoActive" :auto-focus="$A.isDesktop()"/>
|
<DialogWrapper v-if="windowLarge && activeNum > 0 && dialogId > 0" :dialogId="dialogId" @on-active="scrollIntoActive" :auto-focus="$A.isDesktop()"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -160,6 +160,7 @@ export default {
|
|||||||
directives: {longpress},
|
directives: {longpress},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
activeNum: 0,
|
||||||
tabActive: 'dialog',
|
tabActive: 'dialog',
|
||||||
|
|
||||||
dialogLoad: 0,
|
dialogLoad: 0,
|
||||||
@ -196,10 +197,12 @@ export default {
|
|||||||
|
|
||||||
activated() {
|
activated() {
|
||||||
this.updateDialogs(1000);
|
this.updateDialogs(1000);
|
||||||
|
this.$nextTick(_ => this.activeNum++)
|
||||||
},
|
},
|
||||||
|
|
||||||
deactivated() {
|
deactivated() {
|
||||||
this.updateDialogs(-1);
|
this.updateDialogs(-1);
|
||||||
|
this.$nextTick(_ => this.activeNum--)
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user