yink #17
@ -311,7 +311,7 @@ const previewPDF = (item) => {
|
||||
// downloadAndOpenFile(item)
|
||||
// })
|
||||
// }
|
||||
if(checkFileCanPreview(item?.extra?.path || '')){
|
||||
if(checkFileCanPreview(item || '')){
|
||||
window.open(
|
||||
`${import.meta.env.VITE_PAGE_URL}/office?url=${item}`,
|
||||
'_blank',
|
||||
@ -382,7 +382,8 @@ const previewPDF = (item) => {
|
||||
}
|
||||
.file-message-wrapper {
|
||||
.condition-each-result-attachments {
|
||||
width: 289px;
|
||||
min-width: 289px;
|
||||
max-width: 660px;
|
||||
height: 62px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -452,6 +453,7 @@ const previewPDF = (item) => {
|
||||
span {
|
||||
color: #191919;
|
||||
word-break: break-all;
|
||||
max-width: 660px;
|
||||
}
|
||||
.searchRecordDetail-fastLocal {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user