wl
2023-01-03 e1ac04b42be89ca26ff5f94c17c4e2eebe52a0a2
src/components/Upload/index.vue
@@ -23,7 +23,6 @@
    },
    methods: {
        beforeUpload(rawFile) {
            console.log(rawFile);
            if (rawFile.type !== 'image/png' && rawFile.type !== 'image/svg+xml' && rawFile.type !== 'image/jpg' && rawFile.type !== 'image/jpeg') {
                this.$message.error('图片必须是 jpg/svg/jpeg/png 格式!')
                return false