zhangxin 1 viikko sitten
vanhempi
commit
f14a672ca3
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      components/add-inquiry-dialog/index.vue

+ 7 - 7
components/add-inquiry-dialog/index.vue

@@ -228,13 +228,13 @@ export default {
228
                 })
228
                 })
229
                 return
229
                 return
230
             }
230
             }
231
-            // if (this.info.imgsUrl.length == 0) {
232
-            //     uni.showToast({
233
-            //         title: '请上传图片',
234
-            //         icon: 'none'
235
-            //     })
236
-            //     return
237
-            // }
231
+            if (this.info.imgsUrl.length == 0) {
232
+                uni.showToast({
233
+                    title: '请上传图片',
234
+                    icon: 'none'
235
+                })
236
+                return
237
+            }
238
             if (this.editOrAdd === 'edit' && !this.info.price) {
238
             if (this.editOrAdd === 'edit' && !this.info.price) {
239
                 uni.showToast({
239
                 uni.showToast({
240
                     title: '请输入价格',
240
                     title: '请输入价格',