From 301289e539c417995f95f5cb91fd1f6043bb7cfd Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123456 <zxx19900626> Date: 星期一, 20 十二月 2021 10:46:27 +0800 Subject: [PATCH] 智慧工会细节 --- pages/login/login.vue | 78 --------------------------------------- 1 files changed, 0 insertions(+), 78 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 0d243d5..5635a9b 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -70,7 +70,6 @@ this.showPassword = !this.showPassword }, appLoginWx(ref) { - // this.$u.toast('Hello uView!'); this.$refs.valiFormData.validate(valid => { if(valid) { console.log(' this.valiFormData.loginName----',this) @@ -83,85 +82,8 @@ }); } }) - // uni.request({ - // header: { - // 'content-type': 'application/x-www-form-urlencoded' //鑷畾涔夎姹傚ご淇℃伅 - // }, - // // url: 'http://39.96.92.240:8099/user/login', - // url: 'https://hesuancj.cn:8889/user/login', - // method: 'post', - // data: { - // loginName: this.valiFormData.loginName, - // password:this.valiFormData.password, - // openid:this.valiFormData.openid - // }, - // }).then(data => { - // var [error, res ] = data; - // console.log(res,'............') - // console.log(' this----',this.valiFormData) - // this.$u.toast(res.data.message); - // if(res.data.success) { - // this.setStore("userInfo",res.data.obj) - // uni.switchTab({ - // url: '/pages/learn/learn' - // }); - // } - - // this.$refs.uToast.show({ - // title: res.message, - // type: res.success, - // url: '/pages/learn/learn' - // }) - // }) } }) - - // uni.getProvider({ - // service: 'oauth', - // success: function(res) { - // if (~res.provider.indexOf('weixin')) { - // uni.login({ - // provider: 'weixin', - // success: (res2) => { - // uni.getUserInfo({ - // provider: 'weixin', - // success: (info) => { //杩欓噷璇锋眰鎺ュ彛 - // console.log(res2); - // console.log(info); - // uni.request({ - // url: 'http://39.96.92.240:8099/wx/login' - // }) - // .then(data => {//data涓轰竴涓暟缁勶紝鏁扮粍绗竴椤逛负閿欒淇℃伅锛岀浜岄」涓鸿繑鍥炴暟鎹� - // var [error, res] = data; - // console.log(res.data); - // }) - - // }, - // fail: () => { - // uni.showToast({ - // title: "寰俊鐧诲綍鎺堟潈澶辫触", - // icon: "none" - // }); - // } - // }) - - // }, - // fail: () => { - // uni.showToast({ - // title: "寰俊鐧诲綍鎺堟潈澶辫触", - // icon: "none" - // }); - // } - // }) - - // } else { - // uni.showToast({ - // title: '璇峰厛瀹夎寰俊鎴栧崌绾х増鏈�', - // icon: "none" - // }); - // } - // } - // }); } } } -- Gitblit v1.9.1