chenqilong 1 vuosi sitten
vanhempi
commit
e9d8496108
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 2 2
      src/components/zj-upload/index.vue
  2. 1 1
      src/pages/mine/myBuy/return.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') {

+ 1 - 1
src/pages/mine/myBuy/return.vue

@@ -125,9 +125,9 @@ export default {
   },
   onLoad({ orderId }) {
     this.orderId = orderId
+    this.getDetail()
   },
   onShow() {
-    this.getDetail()
   },
   methods: {
     back() {