diff --git a/pages/application/safetymeeting/home.vue b/pages/application/safetymeeting/home.vue index 61376da..23002be 100644 --- a/pages/application/safetymeeting/home.vue +++ b/pages/application/safetymeeting/home.vue @@ -222,6 +222,7 @@ }, success: (res) => { uni.hideLoading(); //结束加载中动画 + console.log(res.data) if (res.data != null) { _this.totalPage = res.data.page.totalPage; if (_this.list.length == 0) { diff --git a/pages/application/safetymeeting/safetymeeting-detail.vue b/pages/application/safetymeeting/safetymeeting-detail.vue index ef1b3f2..587ea69 100644 --- a/pages/application/safetymeeting/safetymeeting-detail.vue +++ b/pages/application/safetymeeting/safetymeeting-detail.vue @@ -262,7 +262,8 @@ type: 'gcj02', geocode: true, success: function (locationRes) { - const locationAddress = `${locationRes.address.province}${locationRes.address.city}${locationRes.address.district}${locationRes.address.street}${locationRes.address.streetNum}${locationRes.address.poiName}`; + let locationAddress = `${locationRes.address.province}${locationRes.address.city}${locationRes.address.district}${locationRes.address.street}${locationRes.address.streetNum}${locationRes.address.poiName}`; + locationAddress = locationAddress.replace(/undefined/g,'') // 创建画布 const ctx = uni.createCanvasContext('watermarkCanvas', _this); ctx.drawImage(tempFilePath, 0, 0, 300, 150); // 图片大小 diff --git a/pages/basics/basic-info/home.vue b/pages/basics/basic-info/home.vue index 1c15b4c..e95460e 100644 --- a/pages/basics/basic-info/home.vue +++ b/pages/basics/basic-info/home.vue @@ -42,10 +42,10 @@