zhangxin 1 週間 前
コミット
f14a672ca3
共有1 個のファイルを変更した7 個の追加7 個の削除を含む
  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 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 238
             if (this.editOrAdd === 'edit' && !this.info.price) {
239 239
                 uni.showToast({
240 240
                     title: '请输入价格',