Commit fef11e03 by zhangzhen

细节完善

parent 222fc834
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
wx.login({ wx.login({
success: (res) => { success: (res) => {
login(res.code).then(res => { login(res.code).then(res => {
console.log(res,99999)
if (res.data.code == 200) { if (res.data.code == 200) {
uni.setStorageSync('loginStatus', res.data.data.type) uni.setStorageSync('loginStatus', res.data.data.type)
if (res.data.data.type === "login") { if (res.data.data.type === "login") {
...@@ -56,7 +55,6 @@ ...@@ -56,7 +55,6 @@
if(uni.getStorageSync("popupTipStatus")){ if(uni.getStorageSync("popupTipStatus")){
uni.removeStorageSync("popupTipStatus") uni.removeStorageSync("popupTipStatus")
} }
uni.getSystemInfo({ uni.getSystemInfo({
success: (e) => { success: (e) => {
Vue.prototype.screenHeight = e.screenHeight; Vue.prototype.screenHeight = e.screenHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment