修改信息

This commit is contained in:
2025-12-01 16:25:50 +08:00
parent 519d955679
commit b8626db4dd
4 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ export function login(data: { phone: string, code?: string, password?: string })
const user: User = {
id: 'user_001',
username: data.phone,
nickname: `测试${data.phone.slice(-4)}`,
nickname: `王明阳`, // ${data.phone.slice(-4)}
avatar: '/static/images/avatar.jpg',
phone: data.phone,
creditLimits: [],

View File

@@ -130,6 +130,8 @@ onUnload(() => {
<view class="tips">
<text>未注册手机号验证后自动创建账号</text>
<p>&nbsp;</p>
<p><text>©2025 数字广东网络建设有限公司</text></p>
</view>
</view>
</view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 263 KiB

View File

@@ -7,7 +7,7 @@ export const useUserStore = defineStore('user', {
userInfo: {
id: 'user_001',
username: 'admin',
nickname: '测试用户',
nickname: '王明阳',
avatar: '/static/images/avatar.jpg',
phone: '13800138000',
creditLimits: [], // 实际应从 financeStore 获取或关联