From 9c7c21e8eacda173feb418bdfe739f7f97358233 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Sun, 29 Mar 2020 17:28:46 +0800 Subject: [PATCH] bug修复 --- SunshineLnsMinApp/pages/xsjb/xsjb.js | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/SunshineLnsMinApp/pages/xsjb/xsjb.js b/SunshineLnsMinApp/pages/xsjb/xsjb.js index 231e8dd..91b5728 100644 --- a/SunshineLnsMinApp/pages/xsjb/xsjb.js +++ b/SunshineLnsMinApp/pages/xsjb/xsjb.js @@ -32,6 +32,7 @@ evalList: {}, disabled: true, showInfo: false, + id:'' }, /** @@ -114,9 +115,6 @@ if(!this.data.thisData.tipoffObject){ return app.showModal("请填写举报对象!"); } - if(!this.data.thisData.tipoffAction){ - return app.showModal("请选择举报行为!"); - } if(!this.data.thisData.tipoffAddress){ return app.showModal("请填写发生地!"); } @@ -154,8 +152,8 @@ icon: 'success', duration: 2000 }) - wx.navigateTo({ - url: '../zhwj/zhwj', + wx.navigateBack({ + delta: 2 }) } } @@ -183,7 +181,8 @@ console.log(e) var that = this; console.log(that) - app.joinPicture(e, that, e.currentTarget.dataset.associatetypeid, that.data.id); + console.log('that.data.id', that.data.thisData.id) + app.joinPicture(e, that, e.currentTarget.dataset.associatetypeid, that.data.thisData.id); }, // 删除图片 -- Gitblit v1.8.0