소스 검색

fix:优化

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: '请输入价格',