diff --git a/src/view/article/comment/index.vue b/src/view/article/comment/repleyList.vue similarity index 82% rename from src/view/article/comment/index.vue rename to src/view/article/comment/repleyList.vue index 18500ea..100a8a2 100644 --- a/src/view/article/comment/index.vue +++ b/src/view/article/comment/repleyList.vue @@ -14,12 +14,12 @@
- +
- +
@@ -30,6 +30,10 @@ import replyInput from './reply.vue' export default { name: 'ReplyList', props: { + articleId:{ + type:Number, + required: true + }, curIndex: { type: Number, required: true @@ -46,6 +50,9 @@ export default { }, change(obj){ this.$emit('change',obj) + }, + replace(){ + this.$parent.replace() } } } @@ -54,6 +61,9 @@ export default {