Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
f7ee989454cfa326b62e448be01a777cc53ddc69
Authored by
vking
2019-09-11 11:54:32 +0800
1 parent
b77cb327
build: skipped
周到安排
Changes
4
Builds
0
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
pack-book/pages/book/setting/index.js
pages/manager-invitation/editor.js
pages/manager-invitation/setting/index.js
pages/reserve/index.js
pack-book/pages/book/setting/index.js
View file @
f7ee989
@@ -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
*/
pages/manager-invitation/editor.js
View file @
f7ee989
@@ -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
/**
pages/manager-invitation/setting/index.js
View file @
f7ee989
@@ -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
*/
pages/reserve/index.js
View file @
f7ee989
@@ -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
/**
Please
register
or
login
to post a comment