查询修复
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user