mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-23 09:20:44 +00:00
perf: 回复消息列表隐藏顶部loading
This commit is contained in:
parent
f311625060
commit
c67f52e960
@ -198,7 +198,7 @@
|
|||||||
@on-error="onError"
|
@on-error="onError"
|
||||||
@on-emoji="onEmoji"
|
@on-emoji="onEmoji"
|
||||||
@on-show-emoji-user="onShowEmojiUser">
|
@on-show-emoji-user="onShowEmojiUser">
|
||||||
<template #header>
|
<template #header v-if="headShowBox">
|
||||||
<div class="dialog-item head-box">
|
<div class="dialog-item head-box">
|
||||||
<div v-if="loadIng > 0 || prevId > 0" class="loading" :class="{filled: allMsgs.length === 0}">
|
<div v-if="loadIng > 0 || prevId > 0" class="loading" :class="{filled: allMsgs.length === 0}">
|
||||||
<span v-if="scrollOffset < 100"></span>
|
<span v-if="scrollOffset < 100"></span>
|
||||||
@ -566,6 +566,7 @@
|
|||||||
v-if="replyListShow"
|
v-if="replyListShow"
|
||||||
:dialogId="dialogId"
|
:dialogId="dialogId"
|
||||||
:msgId="replyListId"
|
:msgId="replyListId"
|
||||||
|
:headShowBox="false"
|
||||||
class="inde-list">
|
class="inde-list">
|
||||||
<div slot="head" class="drawer-title">{{$L('回复消息')}}</div>
|
<div slot="head" class="drawer-title">{{$L('回复消息')}}</div>
|
||||||
</DialogWrapper>
|
</DialogWrapper>
|
||||||
@ -675,6 +676,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
headShowBox: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
beforeBack: Function
|
beforeBack: Function
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user