From 8f59335879cf2d2f372380f511b2f6378738298a Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 22 七月 2024 13:44:28 +0800
Subject: [PATCH] b端
---
wechat_jiaxuan/app.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/app.js b/wechat_jiaxuan/app.js
index e56016f..c9e2dcb 100644
--- a/wechat_jiaxuan/app.js
+++ b/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,8 @@
if (WindowInfo.safeArea.top > 20) {
this.globalData.bottomLift = WindowInfo.screenHeight - WindowInfo.safeArea.bottom;
}
- //
+ // 鎺堟潈鐧诲綍
+ const member = wx.getStorageSync('member')
wx.login({
timeout: 5000,
success(res) {
@@ -37,5 +40,7 @@
console.log(err)
}
})
+
+
}
})
\ No newline at end of file
--
Gitblit v1.9.3