Showing
1 changed file
with
1 additions
and
5 deletions
| @@ -11,13 +11,9 @@ Page({ | @@ -11,13 +11,9 @@ Page({ | ||
| 11 | desks: [], | 11 | desks: [], |
| 12 | sellerid:'', | 12 | sellerid:'', |
| 13 | options:null, | 13 | options:null, |
| 14 | - onReady(){ | ||
| 15 | - wx.removeStorage({ | ||
| 16 | - key:'tableid' | ||
| 17 | - }) | ||
| 18 | - }, | ||
| 19 | onLoad: function (opt) { | 14 | onLoad: function (opt) { |
| 20 | console.log('onLoad', opt) | 15 | console.log('onLoad', opt) |
| 16 | + wx.removeStorageSync({key: 'tableid'}) | ||
| 21 | this.options=opt; | 17 | this.options=opt; |
| 22 | var radio = 750 / util.getsystem().windowWidth; | 18 | var radio = 750 / util.getsystem().windowWidth; |
| 23 | var contentHeight = util.getsystem().windowHeight - Math.ceil(350 / radio); | 19 | var contentHeight = util.getsystem().windowHeight - Math.ceil(350 / radio); |
-
Please register or login to post a comment