commit | author | age | ||
76dbfd | 1 | export const ACCEPT_CONFIG = { |
I | 2 | image: ['.png', '.jpg', '.jpeg', '.gif', '.bmp'], |
3 | video: ['.mp4', '.rmvb', '.mkv', '.wmv', '.flv'], | |
4 | document: ['.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf', '.txt', '.tif', '.tiff'], | |
5 | getAll(){ | |
6 | return [...this.image, ...this.video, ...this.document] | |
7 | }, | |
8 | }; |