查询修复

This commit is contained in:
2025-12-28 18:18:05 +08:00
parent 579e63efb0
commit 0beb631512
11 changed files with 7 additions and 8 deletions

View File

@@ -164,9 +164,9 @@
// 开发环境使用mock数据
if (isMockMode.value) {
userInfo.value = {
wechatId: '17857100378',
wechatId: '17857100377',
username: '访客用户',
phone: '17857100378',
phone: '17857100377',
userId: ''
}
await doIdentify()
@@ -176,12 +176,12 @@
// 切换mock用户开发调试用
function switchMockUser() {
uni.showActionSheet({
itemList: ['员工 (17857100375)', '访客 (17857100378)'],
itemList: ['员工 (17857100375)', '访客 (17857100377)'],
success: (res) => {
if (res.tapIndex === 0) {
userInfo.value = { wechatId: '17857100375', username: '员工用户', phone: '17857100375', userId: '' }
} else {
userInfo.value = { wechatId: '17857100378', username: '访客用户', phone: '17857100378', userId: '' }
userInfo.value = { wechatId: '17857100377', username: '访客用户', phone: '17857100377', userId: '' }
}
doIdentify()
}