Browse Source

feat: 批量上传图片

tangning 1 year ago
parent
commit
e2080c87ea
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/view/case/addPhotoFileAll.vue

+ 3 - 3
src/view/case/addPhotoFileAll.vue

@@ -5,7 +5,7 @@
     label-width="90px"
     class="camera-from dispatch-file-from"
   >
-    <el-form-item label="附件:" class="mandatory">
+    <el-form-item label="照片:" class="mandatory">
       <el-upload
         class="upload-demo"
         :multiple="true"
@@ -152,8 +152,8 @@ defineExpose<QuiskExpose>({
   async submit() {
     console.log('defineExpose', fileList.value)
     if (!fileList.value.length) {
-      ElMessage.error("请上传附件");
-      throw "请上传附件";
+      ElMessage.error("请上传照片");
+      throw "请上传照片";
     }
     console.log('defineExpose', caseFile.value, file.value)
     let imgUrls = fileList.value.map(item => {