XSLu08042 1 周之前
父节点
当前提交
38655a1c11
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      pages_user/bindCompanyUser.vue

+ 14 - 0
pages_user/bindCompanyUser.vue

@@ -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: '绑定中...'