chenqilong 1 år sedan
förälder
incheckning
5e12f25b5f
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/components/zj-upload/index.vue

+ 2 - 2
src/components/zj-upload/index.vue

@@ -104,8 +104,8 @@ export default {
     },
     upload() {
       uni.chooseImage({
-        // count: this.count === 0 ? 0 : this.count - this.files.length,
-        count:1,
+        count: this.count === 0 ? 0 : this.count - this.files.length,
+        // count:1,
         success: async res => {
           let pathType = this.checkFileType(res.tempFiles[0].name)
           if (pathType !== 'image') {