修改信息
This commit is contained in:
@@ -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: [],
|
||||
|
||||
@@ -130,6 +130,8 @@ onUnload(() => {
|
||||
|
||||
<view class="tips">
|
||||
<text>未注册手机号验证后自动创建账号</text>
|
||||
<p> </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 |
@@ -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 获取或关联
|
||||
|
||||
Reference in New Issue
Block a user