提交 9697e7cc 作者: 方治民

fix: 修复审计模式判断逻辑

上级 844b2aa8
...@@ -59,9 +59,9 @@ export const useUserStore = defineStore({ ...@@ -59,9 +59,9 @@ export const useUserStore = defineStore({
*/ */
isAuditMode(): boolean { isAuditMode(): boolean {
return ( return (
['10000000001', '13000000000', '13012345678'].includes(this.getUserInfo?.phone) ||
!this.getUserInfo?.phone || !this.getUserInfo?.phone ||
this.getUserInfo?.username === 'test' this.getUserInfo?.username === 'test' ||
['10000000001', '13000000000', '13012345678'].includes(this.getUserInfo?.phone)
) )
}, },
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论