Commit cf331da54f9004a6dba988142e59cf50dd8f0c30

Authored by vking
1 parent cae528d7

fb

Showing 1 changed file with 2 additions and 2 deletions
@@ -23,8 +23,6 @@ Component({ @@ -23,8 +23,6 @@ Component({
23 top:(Math.random()*70+10) 23 top:(Math.random()*70+10)
24 }, 24 },
25 ready: function() { 25 ready: function() {
26 - let openid=wx.getStorageSync('customer_openid');  
27 - if(!openid) return;  
28 if(!console.hasRewrite){ 26 if(!console.hasRewrite){
29 const logger =wx.getLogManager() 27 const logger =wx.getLogManager()
30 let consoleLog=console.log 28 let consoleLog=console.log
@@ -34,6 +32,8 @@ Component({ @@ -34,6 +32,8 @@ Component({
34 logger.debug(...arguments) 32 logger.debug(...arguments)
35 } 33 }
36 } 34 }
  35 + let openid=wx.getStorageSync('customer_openid');
  36 + if(!openid) return;
37 if(mans.includes(openid)){ 37 if(mans.includes(openid)){
38 this.setData({ 38 this.setData({
39 hasDispaly:true, 39 hasDispaly:true,