guhongwei 5 년 전
부모
커밋
de7ac1a914
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/room/detailInfo.vue

+ 1 - 1
src/layout/room/detailInfo.vue

@@ -145,7 +145,7 @@ export default {
       done();
     },
     submitDrawer() {
-      if (this.drawerform) {
+      if (this.drawerform.title != null && this.drawerform.imgdir != null && this.drawerform.imgurl != null) {
         this.form.adverts.push(this.drawerform);
       }
       this.drawerform = {};