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> </div>
</a-tooltip> </a-tooltip>
<slot name="title" :item="item"></slot> <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"> <slot name="titleAction" :item="item">
<MsButton <MsButton
v-if="item.file.type.includes('image/')" v-if="item.file.type.includes('image/')"
@ -399,6 +399,12 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
:deep(.arco-list) {
overflow: auto;
.arco-list-content {
min-width: 425px;
}
}
.image-item { .image-item {
@apply relative; @apply relative;
&:hover { &:hover {

View File

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

View File

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