diff --git a/App.vue b/App.vue
index 5fc3755..2740188 100644
--- a/App.vue
+++ b/App.vue
@@ -7,9 +7,8 @@
uni.login({
provider: 'weixin',
success: async (data) => {
- uni.cache.set('weixincode', data.code);
let res = await Api.getminiuserinfo({
- code: uni.cache.get('weixincode') //临时登录凭证
+ code: data.code
})
uni.cache.set('open_id', res.data.openid)
this.$isResolve()
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 2144e30..a39ded6 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,18 +1,14 @@
-
- 欢迎您登录开票系统
-
+ 欢迎您登录开票系统
手机号码
-
+
密码
-
+
@@ -40,254 +36,265 @@
及
《隐私政策》
-->
-
- 忘记密码
-
+ 忘记密码
-
+
我是用户
\ No newline at end of file
+}
+