From 456edb252ebecce37f6fff99839af33b2b3cde2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=93=E9=9B=AA=E5=B3=B0?= <634123426@qq.com>
Date: Thu, 12 Nov 2020 15:19:15 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=99=BB=E5=BD=95?=
=?UTF-8?q?=E6=97=B6iOS=E5=B9=B3=E5=8F=B0=E6=9A=82=E6=97=B6=E9=9A=90?=
=?UTF-8?q?=E8=97=8F=E7=AC=AC=E4=B8=89=E6=96=B9=E7=99=BB=E5=BD=95=EF=BC=8C?=
=?UTF-8?q?=E6=96=B9=E4=BE=BF=E8=BF=87=E5=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pageA/login/login.vue | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/pageA/login/login.vue b/pageA/login/login.vue
index d42a3d5..64c0241 100644
--- a/pageA/login/login.vue
+++ b/pageA/login/login.vue
@@ -34,7 +34,8 @@
{{register}}
- 其他方式登录
+
+ 其他方式登录
@@ -98,11 +99,19 @@
}, ],
temp_url: "", // 上个页面路径
pagesArr: ["pages/mine/index"], // 特殊路径
+ platform: '', // 手机平台
};
},
onLoad() {
// 数据的请求
// this.apiwelcome();
+ // 获取手机平台
+ uni.getSystemInfo({
+ success: (res) => {
+ console.log(res);
+ this.platform = res.platform
+ }
+ });
},
onShow() {
let pages = getCurrentPages();