diff --git a/pages/message/notification/index.js b/pages/message/notification/index.js index b41112a..ad3c7b4 100644 --- a/pages/message/notification/index.js +++ b/pages/message/notification/index.js @@ -33,7 +33,7 @@ Component({ } readMessage({ idList: [this.data.message.id] }).then(result => { if(this.data.message.redirectInfo.targetView == 'factoryCustomerDetail'){// 新建客户 - this.setData({ notice: false }) + this.onClose() if(e.currentTarget.id == 'client'){ wx.navigateTo({ url: `/pages/home/customer-info/index?cardNo=${this.data.message.redirectInfo.params.cardNo}` }) } else if(e.currentTarget.id == 'employ'){