diff --git a/src/views/mall/product/comment/CommentForm.vue b/src/views/mall/product/comment/CommentForm.vue index 8a60bef1..77557437 100644 --- a/src/views/mall/product/comment/CommentForm.vue +++ b/src/views/mall/product/comment/CommentForm.vue @@ -75,7 +75,6 @@ const formData = ref({ spuId: undefined, spuName: undefined, skuId: undefined, - scores: 5, descriptionScores: 5, benefitScores: 5, content: undefined, @@ -87,7 +86,6 @@ const formRules = reactive({ userAvatar: [{ required: true, message: '用户头像不能为空', trigger: 'blur' }], userNickname: [{ required: true, message: '用户名称不能为空', trigger: 'blur' }], content: [{ required: true, message: '评论内容不能为空', trigger: 'blur' }], - scores: [{ required: true, message: '评分星级不能为空', trigger: 'blur' }], descriptionScores: [{ required: true, message: '描述星级不能为空', trigger: 'blur' }], benefitScores: [{ required: true, message: '服务星级不能为空', trigger: 'blur' }] }) @@ -153,7 +151,6 @@ const resetForm = () => { userAvatar: undefined, spuId: undefined, skuId: undefined, - scores: 5, descriptionScores: 5, benefitScores: 5, content: undefined, diff --git a/src/views/mall/product/comment/ReplyForm.vue b/src/views/mall/product/comment/ReplyForm.vue new file mode 100644 index 00000000..4ce36781 --- /dev/null +++ b/src/views/mall/product/comment/ReplyForm.vue @@ -0,0 +1,77 @@ + + + diff --git a/src/views/mall/product/comment/index.vue b/src/views/mall/product/comment/index.vue index 7647aff1..4fe65a86 100644 --- a/src/views/mall/product/comment/index.vue +++ b/src/views/mall/product/comment/index.vue @@ -60,7 +60,6 @@ -