登录逻辑

parent e488b694
...@@ -43,7 +43,7 @@ const login = () => { ...@@ -43,7 +43,7 @@ const login = () => {
}); });
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: "/pages/user/businessLicense/fillIn" url: "/pages/user/businessLicense/fillIn?steps=1"
}); });
} }
}); });
......
...@@ -25,12 +25,10 @@ const login = async () => { ...@@ -25,12 +25,10 @@ const login = async () => {
// 已经判断是否注册过企业 // 已经判断是否注册过企业
if (userInfoRes.data) { if (userInfoRes.data) {
const { status } = userInfoRes.data; const { status } = userInfoRes.data;
console.log("status", typeof status);
switch (status) { switch (status) {
case 0: case 0:
uni.navigateTo({ uni.navigateTo({
url: `/pages/user/businessLicense/fillIn` url: `/pages/user/businessLicense/fillIn?steps=1`
}); });
break; break;
default: default:
...@@ -41,7 +39,7 @@ const login = async () => { ...@@ -41,7 +39,7 @@ const login = async () => {
} }
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: `/pages/user/businessLicense/fillIn` url: `/pages/user/businessLicense/fillIn?steps=1`
}); });
} }
} }
......
...@@ -178,13 +178,6 @@ const nextStep = () => { ...@@ -178,13 +178,6 @@ const nextStep = () => {
default: default:
break; break;
} }
if (flag) {
uni.showToast({
title: "请先完成操作",
icon: "none"
});
return;
}
}; };
/* 选择图片 */ /* 选择图片 */
const chooseImage = sourceType => { const chooseImage = sourceType => {
......
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