zhaoxiaohai il y a 3 ans
Parent
commit
32f10dd086
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      pages/annunciate/details.js

+ 2 - 1
pages/annunciate/details.js

@@ -66,12 +66,13 @@ Page({
                 "sat_noticeid": options.id
             }
         }).then(res => {
+            console.log(321654,res)
             if (res.msg != '成功') return wx.showToast({
                 title: res.data,
                 icon: "none"
             });
             let isEvaluate = false;
-            if (res.data.score != 0) {
+            if (res.data[0].score != 0) {
                 this.rateChange({
                     detail: res.data[0].score
                 })