liuyu 5 years ago
parent
commit
f8a9e19ac6
1 changed files with 2 additions and 2 deletions
  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 = '';