Commit f7ee989454cfa326b62e448be01a777cc53ddc69

Authored by vking
1 parent b77cb327

周到安排

@@ -32,7 +32,9 @@ Page({ @@ -32,7 +32,9 @@ Page({
32 } 32 }
33 ) 33 )
34 }, 34 },
35 - 35 + onUnload(){
  36 + PubSub.off('flushNewCustomer')
  37 + },
36 /** 38 /**
37 * 生命周期函数--监听页面初次渲染完成 39 * 生命周期函数--监听页面初次渲染完成
38 */ 40 */
@@ -154,7 +154,7 @@ Page({ @@ -154,7 +154,7 @@ Page({
154 * 生命周期函数--监听页面卸载 154 * 生命周期函数--监听页面卸载
155 */ 155 */
156 onUnload: function () { 156 onUnload: function () {
157 - 157 + PubSub.off('quick')
158 }, 158 },
159 159
160 /** 160 /**
@@ -33,7 +33,9 @@ Page({ @@ -33,7 +33,9 @@ Page({
33 } 33 }
34 ) 34 )
35 }, 35 },
36 - 36 + onUnload(){
  37 + PubSub.off('flushNewCustomer')
  38 + },
37 /** 39 /**
38 * 生命周期函数--监听页面初次渲染完成 40 * 生命周期函数--监听页面初次渲染完成
39 */ 41 */
@@ -198,6 +198,8 @@ Page({ @@ -198,6 +198,8 @@ Page({
198 * 生命周期函数--监听页面卸载 198 * 生命周期函数--监听页面卸载
199 */ 199 */
200 onUnload: function () { 200 onUnload: function () {
  201 + PubSub.off('searchParam')
  202 + PubSub.off('appHide')
201 }, 203 },
202 204
203 /** 205 /**