Commit ae7173774294057720600de02daeefc2b8abc581

Authored by vking
1 parent 545d166a

周到安排

@@ -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);