|
@@ -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 = '';
|