diff --git a/config.js b/config.js
index 752d6ee..7017a57 100644
--- a/config.js
+++ b/config.js
@@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
-const type = 'local'
+const type = 'prod'
// 环境配置
diff --git a/pages_order/components/list/comment/commentItem.vue b/pages_order/components/list/comment/commentItem.vue
index af3afa0..faf3344 100644
--- a/pages_order/components/list/comment/commentItem.vue
+++ b/pages_order/components/list/comment/commentItem.vue
@@ -10,9 +10,9 @@
{{ item.userName }}
@@ -41,7 +41,8 @@
@@ -111,12 +112,18 @@
// 处理回复
handleReply() {
- this.$emit('reply', this.item);
+ this.$emit('reply', {
+ item : this.item,
+ level : 0,
+ });
},
// 处理子评论回复
handleSubReply(subComment) {
- this.$emit('reply', subComment);
+ this.$emit('reply', {
+ item : subComment,
+ level : 1,
+ });
}
}
}
@@ -125,20 +132,20 @@