diff --git a/src/pages/personal/pages/my-questions/components/answerItem.vue b/src/pages/personal/pages/my-questions/components/answerItem.vue index 7855ce2a4..453bed1d8 100644 --- a/src/pages/personal/pages/my-questions/components/answerItem.vue +++ b/src/pages/personal/pages/my-questions/components/answerItem.vue @@ -108,7 +108,10 @@ export default { this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{ _this: this }, res => { - + if(res.merge === '添加成功'){ + this.form.reply = '' + this.fileList = [] + } }, e => { }) diff --git a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue index 8820de43e..09c9b87c8 100644 --- a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue +++ b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue @@ -10,20 +10,20 @@
-
+
附件: {{answer.appendixName}}
-
+
{{answer.answerer}} {{answer.replyTime}}
-
+
归档
@@ -43,7 +43,10 @@ export default { } }, methods:{ - answerChang(val){ + //点击预览 + clickButtonTo() { + const attId = this.answer.appendixId + this.$preview(attId) }, }, watch:{ diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue index 2cb8e07e0..81ea17608 100644 --- a/src/pages/personal/pages/my-questions/index.vue +++ b/src/pages/personal/pages/my-questions/index.vue @@ -320,7 +320,7 @@ -
+