@@ -27,6 +27,20 @@
},
methods: {
handleBind() {
+ this.$isLogin().then(
+ res => {
+ if(res){
+ this.submit();
+ }
+ else{
+ uni.navigateTo({
+ url:'/pages/auth/login'
+ })
+ );
+ },
+ submit() {
this.btnLodaing = true
uni.showLoading({
title: '绑定中...'