diff --git a/project.private.config.json b/project.private.config.json index ceedfa5..716cee1 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -2,7 +2,7 @@ "libVersion": "3.8.9", "projectname": "epmet-apartment-mp", "setting": { - "urlCheck": true, + "urlCheck": false, "coverView": true, "lazyloadPlaceholderEnable": false, "skylineRenderEnable": false, diff --git a/subpages/index/checkOutConfirm/index/index.js b/subpages/index/checkOutConfirm/index/index.js index b69c905..2507255 100644 --- a/subpages/index/checkOutConfirm/index/index.js +++ b/subpages/index/checkOutConfirm/index/index.js @@ -61,6 +61,14 @@ console.log('area',scrollArea.node); }) }, submit: function () { + if(this.data.signImgSrc.length === 0 || !this.data.signImgSrc){ + console.log(this.data.signImgSrc); + wx.showToast({ + title: '请签字确认', + icon:'none' + }) + return + } checkoutConfirm({deliveryReceiptUrl:this.data.signImgSrc[0].url,checkOutRecId:this.data.info.checkOutRecId}).then(res=>{ if(res.code === 200){ console.log(res);