Ver Fonte

文件类型读后缀

panhui há 7 anos atrás
pai
commit
3e66f36e2f

+ 1 - 1
src/main/vue/src/pagesPre/OrderUploadChange.vue

@@ -177,7 +177,7 @@ export default {
         handleOn(file) {
             // const isJPG = (file.type === 'image/jpeg' || file.type === 'image/JPEG' || file.type === 'image/png' || file.type === 'image/PNG' || file.type === 'image/cr2' || file.type === 'image/CR2');
             var allName = file.name.split('.')
-            var lastName = position[allName.length - 1]
+            var lastName = allName[allName.length - 1]
 
             // const isJPG = (file.type === '' || file.type === 'image/jpeg' || file.type === 'image/JPEG' || file.type === 'image/png' || file.type === 'image/PNG' || file.type === 'image/cr2' || file.type === 'image/CR2');
             const isJPG = (lastName === 'jpeg' || lastName === 'GPEG' || lastName === 'jpg' || lastName === 'JPG' || lastName === 'png' || lastName === 'PNG' || lastName === 'cr2' || lastName === 'CR2')

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 1
src/main/webapp/static/css/index.755397fc1bb14bb928749efcc230dea9.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/main/webapp/static/js/22.bb143815ec5227c67d71.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/main/webapp/static/js/manifest.a04336a2f427506b1fbd.js


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff