wechat_jiaxuan/app.js
@@ -1,4 +1,6 @@ import { wxLoginCustomer } from './api/index' import { wxLoginCustomer } from './api/index' App({ globalData: { primary: '#B08771', @@ -10,7 +12,7 @@ if (WindowInfo.safeArea.top > 20) { this.globalData.bottomLift = WindowInfo.screenHeight - WindowInfo.safeArea.bottom; } // // 授权登录 wx.login({ timeout: 5000, success(res) { @@ -37,5 +39,8 @@ console.log(err) } }) } })