fix: 记账平台,生产环境,登录增加注册功能。

This commit is contained in:
tianyongbao
2024-12-12 17:37:45 +08:00
parent 2917e625d0
commit 7df241a219
4 changed files with 129 additions and 1 deletions

View File

@@ -27,8 +27,8 @@
</view>
<view class="xieyi text-center">
<text @click="handleRegister" class="text-blue">立即注册 </text>
<text class="text-grey1">登录即代表同意</text>
<text @click="handleUserAgrement" class="text-blue">用户协议</text>
<text @click="handlePrivacy" class="text-blue">隐私协议</text>
</view>
</view>
@@ -79,6 +79,12 @@ function getCode() {
})
};
function handleRegister() {
uni.navigateTo({
url: `/pages/register`
});
};
async function handleLogin() {
if (loginForm.value.username === "") {
modal.msgError("请输入您的账号")