mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-22 10:25:54 +08:00
优化部分商品评价无id,以及投诉详情页面展示错误问题
This commit is contained in:
@@ -71,14 +71,14 @@ export default {
|
||||
goodsDetail: {
|
||||
handler(val) {
|
||||
this.grade = val.grade;
|
||||
this.getGoodsComments();
|
||||
this.getGoodsCommentsMethods();
|
||||
},
|
||||
deep: true,
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
// this.getGoodsComments();
|
||||
|
||||
},
|
||||
methods: {
|
||||
parseLoaded() {
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
},
|
||||
|
||||
// 获取商品评论
|
||||
getGoodsComments() {
|
||||
getGoodsCommentsMethods() {
|
||||
API_Members.getGoodsComments(this.goodsDetail.goodsId, this.params).then(
|
||||
(res) => {
|
||||
this.commDetail = res.data.result;
|
||||
|
||||
Reference in New Issue
Block a user