|
@@ -135,7 +135,7 @@ export default {
|
|
|
const res = await this.fetch(id);
|
|
|
this.$set(this, `detail`, res.data);
|
|
|
},
|
|
|
- async search({ skip = 0, limit = this.limit, newsid = this.id } = { skip: 0, limit: this.limit }) {
|
|
|
+ async search({ skip = 0, limit = this.limit, newsid = this.newsid } = { skip: 0, limit: this.limit }) {
|
|
|
let res = await this.commentquery({ skip, limit, newsid });
|
|
|
console.log(res);
|
|
|
this.$set(this, `list`, res.data);
|