From 8f010c634cecb41a1e1ff0311b47f691132ff269 Mon Sep 17 00:00:00 2001
From: ghusermoon <2673031505@qq.com>
Date: Thu, 10 Sep 2020 09:17:54 +0800
Subject: [PATCH] view goods evaluation
---
components/comment/index.vue | 2 +-
pageB/comment/index.vue | 19 +++++++++++++------
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/components/comment/index.vue b/components/comment/index.vue
index db75f4e..ebf8e69 100644
--- a/components/comment/index.vue
+++ b/components/comment/index.vue
@@ -37,7 +37,7 @@ export default {
content: Object,
reply: Boolean,
},
- created() {
+ mounted() {
if(this.content.hasOwnProperty('scores_two')) this.rate = this.content.scores_two;
},
methods: {
diff --git a/pageB/comment/index.vue b/pageB/comment/index.vue
index 915cdbe..e82b004 100644
--- a/pageB/comment/index.vue
+++ b/pageB/comment/index.vue
@@ -3,9 +3,9 @@
{{ index + '(' + label + ')' }}
-