소스 검색

feat:售后

chenqilong 1 년 전
부모
커밋
5e12f25b5f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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') {