style: 脑图-详情-附件横向超出可以进行滑动

This commit is contained in:
teukkk 2024-08-15 15:41:33 +08:00 committed by 刘瑞斌
parent 8cf4dc2f37
commit a1052c4d51
3 changed files with 13 additions and 3 deletions

View File

@ -52,7 +52,7 @@
</div>
</a-tooltip>
<slot name="title" :item="item"></slot>
<div v-if="props.buttonInTitle" class="ml-auto flex items-center">
<div v-if="props.buttonInTitle" class="ml-auto flex items-center font-normal">
<slot name="titleAction" :item="item">
<MsButton
v-if="item.file.type.includes('image/')"
@ -399,6 +399,12 @@
</script>
<style lang="less" scoped>
:deep(.arco-list) {
overflow: auto;
.arco-list-content {
min-width: 425px;
}
}
.image-item {
@apply relative;
&:hover {

View File

@ -1265,7 +1265,9 @@
reportId.value = res.fileId;
taskId.value = res.taskId;
Message.error(t('caseManagement.featureCase.alreadyExportTasks'));
startWebsocketGetExportResult();
if (!websocket.value) {
startWebsocketGetExportResult();
}
showExportingMessage();
}
} catch (error) {

View File

@ -59,7 +59,9 @@
</div>
<!-- 右侧 -->
<a-spin :loading="caseDetailLoading" class="relative flex h-full flex-1 flex-col overflow-hidden">
<MsEmpty v-if="!caseList.length" />
<div v-if="!caseList.length" class="flex h-full items-center justify-center">
<MsEmpty v-if="!caseList.length" />
</div>
<template v-else>
<div class="flex px-[16px] pt-[16px]">
<div class="mr-[24px] flex flex-1 items-center overflow-hidden">