|
|
@@ -235,7 +235,14 @@ const closeSwipeGuide = () => {
|
|
|
showSwipeGuide.value = false;
|
|
|
};
|
|
|
|
|
|
+const userInfo = localStorage.getItem("localUserInfo");
|
|
|
+const userInfoObj = userInfo ? JSON.parse(userInfo) : {};
|
|
|
+
|
|
|
const handleLockClick = () => {
|
|
|
+ if (userInfoObj.tel) {
|
|
|
+ router.push(`/create_farm?from=growth_report`);
|
|
|
+ return;
|
|
|
+ }
|
|
|
wx.miniProgram.navigateTo({
|
|
|
url: '/pages/subPages/phone_auth/index',
|
|
|
});
|