|
|
|
@ -622,7 +622,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div @click="openCamera" v-if="file.type ==='camera'" style="border:none" class="el-upload--picture-card">
|
|
|
|
<div @click="openCamera" v-if="file.type ==='camera'" style="border:none" class="el-upload--picture-card">
|
|
|
|
<el-icon>
|
|
|
|
<el-icon>
|
|
|
|
<Plus/>
|
|
|
|
<Camera/>
|
|
|
|
</el-icon>
|
|
|
|
</el-icon>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
@ -922,9 +922,6 @@ const handleCameraChange = (e) => {
|
|
|
|
raw: file
|
|
|
|
raw: file
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// 调用 el-upload 的上传逻辑
|
|
|
|
|
|
|
|
uploadRef.value?.uploadFiles.push(file)
|
|
|
|
|
|
|
|
uploadRef.value?.submit()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 重置 input
|
|
|
|
// 重置 input
|
|
|
|
e.target.value = ''
|
|
|
|
e.target.value = ''
|
|
|
|
|