zhaoxiaohai 3 anni fa
parent
commit
b42f6490ee
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      packageA/forecast/detail.js
  2. 1 1
      packageA/forecast/index.js

+ 1 - 1
packageA/forecast/detail.js

@@ -81,7 +81,7 @@ Page({
                 'content.pageNumber': res.pageNumber + 1,
                 'content.pageTotal': res.pageTotal,
                 list: res.pageNumber == 1 ? list : this.data.list.concat(list),
-                total: res.total
+                total: res.total - 1
             })
         })
     },

+ 1 - 1
packageA/forecast/index.js

@@ -69,7 +69,7 @@ Page({
             }
         }).then(res => {
             if (res.msg != '成功') return wx.showToast({
-                title: res.data,
+                title: res.msg,
                 icon: "none"
             })
             if (item.baseonproject == 1) {