Showing
1 changed file
with
2 additions
and
2 deletions
@@ -7,8 +7,8 @@ Page({ | @@ -7,8 +7,8 @@ Page({ | ||
7 | 7 | ||
8 | }, | 8 | }, |
9 | onUnload:function(){ | 9 | onUnload:function(){ |
10 | - wx.removeStorageSync('errorFlag') | ||
11 | - event.on('errorPage',(fun)=>{ fun && fun()}); | 10 | + wx.removeStorageSync('errorFlag'); |
11 | + event.on('errorPage', function(fun){ fun && fun()}); | ||
12 | }, | 12 | }, |
13 | back: function () { | 13 | back: function () { |
14 | wx.navigateBack({ | 14 | wx.navigateBack({ |
-
Please register or login to post a comment