优化页面
This commit is contained in:
@@ -10,7 +10,8 @@ const _sfc_main = {
|
||||
props: {
|
||||
tabIndex: Number
|
||||
},
|
||||
setup(__props) {
|
||||
emits: ["publishSucces"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
require.async("../../TUIKit/components/TUIConversation/entry.js");
|
||||
let showMiddleButton = common_vendor.ref(false);
|
||||
const conversationList = common_vendor.ref([]);
|
||||
@@ -29,6 +30,10 @@ const _sfc_main = {
|
||||
conversationList.value = list;
|
||||
Unread.value = calculateUnreadCount(list);
|
||||
}
|
||||
const emit = __emit;
|
||||
function publishSuccesss() {
|
||||
emit("publishSucces");
|
||||
}
|
||||
function calculateUnreadCount(arr) {
|
||||
let total = 0;
|
||||
for (const item of arr) {
|
||||
@@ -154,7 +159,8 @@ const _sfc_main = {
|
||||
c: common_vendor.o$1(disabledScroll),
|
||||
d: common_vendor.sr(createModule, "c497a889-0", {
|
||||
"k": "createModule"
|
||||
})
|
||||
}),
|
||||
e: common_vendor.o$1(publishSuccesss)
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user