浏览代码

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') {