6155前端功能完成

This commit is contained in:
liub
2025-07-14 09:46:58 +08:00
parent 3dfdd5d4c1
commit 89464f3696
15 changed files with 1128 additions and 195 deletions

View File

@ -23,7 +23,6 @@
class="agreeT">隐私政策</a></text>
</view>
</view>
<!-- 登录按钮 -->
<button class="login-btn" @click="handleLogin">
登录
@ -114,7 +113,6 @@
},
// 登录
async handleLogin() {
console.log('33333');
if (this.phone == '') {
uni.showToast({
title: '手机号不能为空',
@ -146,7 +144,6 @@
smsCode: this.code,
tenantId: '894078' //租户ID
})
console.log(res, 'res44444');
if (res.code == 200) {
uni.hideLoading()
uni.setStorageSync('token', res.data.access_token) // 缓存token