Browse Source

微信登录暂未登录

guhongwei 3 years ago
parent
commit
aa04e2a865
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/login/index.js

+ 2 - 2
pages/login/index.js

@@ -48,8 +48,8 @@ Page({
   },
   // 微信登录
   wxLogin: function () {
-    wx.showToast({ title: `微信登录成功`, icon: 'success', duration: 2000 })
-    wx.navigateTo({ url: '/pages/home/index' })
+    wx.showToast({ title: `暂未开放`, icon: 'error', duration: 2000 })
+    // wx.navigateTo({ url: '/pages/home/index' })
   },
   /**
    * 生命周期函数--监听页面加载