|
|
@@ -1,7 +1,5 @@
|
|
|
<template>
|
|
|
<view class="message_attachment">
|
|
|
- <uni-section class="mb-10" title="附件" type="line">
|
|
|
- </uni-section>
|
|
|
<uni-row :gutter="0">
|
|
|
<uni-col v-for="(attachment, index) in attachments" :key="index" :xs="{span: 24}" :sm="6">
|
|
|
<view class="attachment">
|
|
|
@@ -42,7 +40,7 @@
|
|
|
function startAttachmentCheck() {
|
|
|
intervalId.value = setInterval(() => {
|
|
|
if (props.attachments) {
|
|
|
- console.log('props', props.attachments);
|
|
|
+ // console.log('props', props.attachments);
|
|
|
clearInterval(intervalId.value); // 清除定时器
|
|
|
}
|
|
|
}, 100); // 每0.1秒检查一次
|