fix: 记账平台,生产环境,登录增加注册功能。
This commit is contained in:
@@ -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("请输入您的账号")
|
||||
|
||||
Reference in New Issue
Block a user