lxf 1 年之前
父节点
当前提交
2076d459d8
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/components/process/order.vue

+ 3 - 2
src/components/process/order.vue

@@ -178,7 +178,7 @@
                               }
                               }
                             "
                             "
                             style="width: 100%"
                             style="width: 100%"
-                            accept=".docx,.jpg,.jpeg,.png,.GIF,.JPG,.PNG">
+                            accept=".jpg,.jpeg,.png,.GIF,.JPG,.PNG">
                             <el-button type="primary" style="margin-left: 12px" text>上传图片</el-button>
                             <el-button type="primary" style="margin-left: 12px" text>上传图片</el-button>
                           </el-upload>
                           </el-upload>
                         </div>
                         </div>
@@ -232,7 +232,8 @@
                                 return handleAdhesiveSuccess(uploadFile, index);
                                 return handleAdhesiveSuccess(uploadFile, index);
                               }
                               }
                             "
                             "
-                            style="width: 100%">
+                            style="width: 100%"
+                            accept=".jpg,.jpeg,.png,.GIF,.JPG,.PNG">
                             <el-button type="primary" text>上传文件</el-button>
                             <el-button type="primary" text>上传文件</el-button>
                           </el-upload>
                           </el-upload>
                         </div>
                         </div>