lilei 8 ماه پیش
والد
کامیت
7fc9f4fdc3
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      src/components/UploadFile/index.vue

+ 0 - 2
src/components/UploadFile/index.vue

@@ -224,8 +224,6 @@ export default {
         }
         return true
       }
-      alert(file.type)
-      alert(file.name)
       const isType = this.fileType.indexOf(file.type) >= 0 && file.type != ''
       // 文件格式限制为.xls、.xlsx时,上传.csv文件的type为application/vnd.ms-excel,与.xls一致,无法限制,因此更改为:
       if (!isType || file.name.indexOf('.csv') >= 0) {