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

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

@@ -141,8 +141,8 @@ export default {
     handleClose(done) {
       if (this.imgurl) {
         const newdata = { imgurl: this.imgurl, imgdir: this.imgdir, title: this.title };
-        this.adverts.push(newdata);
-        this.$set(this.form, `adverts`, this.adverts);
+        this.form.adverts.push(newdata);
+        // this.$set(this.form, `adverts`, this.adverts);
         this.imgurl = '';
         this.imgdir = '';
         this.title = '';