This commit is contained in:
zhang zhuo 2025-12-15 15:44:54 +08:00
parent 467e2ed95d
commit 229d0fd419
3 changed files with 5 additions and 3 deletions

View File

@ -41,6 +41,7 @@ import {useRouter} from "vue-router"
const {proxy} = getCurrentInstance() const {proxy} = getCurrentInstance()
const scrollbar = ref(null) const scrollbar = ref(null)
const router = useRouter() const router = useRouter()
const emit = defineEmits(['closed'])
let msgTab = ref("business") let msgTab = ref("business")
let msgList = ref([]) let msgList = ref([])
@ -95,6 +96,7 @@ function detail(item) {
} }
}) })
} }
emit('closed')
} }
</script> </script>

View File

@ -26,7 +26,7 @@
</div> </div>
</template> </template>
<template #default> <template #default>
<msg v-if="msgVisible"/> <msg v-if="msgVisible" @closed="msgVisible=false"/>
</template> </template>
</el-popover> </el-popover>
</div> </div>

View File

@ -69,7 +69,7 @@ async function del() {
} }
.header { .header {
margin-bottom: 25px; margin-bottom: 15px;
} }
.empty { .empty {
@ -78,7 +78,7 @@ async function del() {
} }
.intro { .intro {
margin-bottom: 15px; margin-bottom: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;