- 将"门店装修"菜单标题更改为"基础设施服务" - 移除权限检查中的临时返回语句,完善权限验证逻辑 - 修复权限判断条件,确保用户信息完整时才允许访问 - 添加用户手机号和创建ID的双重校验机制 - 优化权限提示信息处理方式
@@ -188,7 +188,7 @@
"redirect": "/storeDecoration/basicStoreInformation",
"meta": {
"icon": "Brush",
- "title": "门店装修",
+ "title": "基础设施服务",
"isLink": "",
"isHide": false,
"isFull": false,
@@ -8,8 +8,6 @@ import { getUserByPhone, getDetail } from "@/api/modules/homeEntry";
*/
export async function usePermission(tip?: string) {
let type = true;
- // todo
- return type;
if (!localGet("createdId") && !localGet("geeker-user").userInfo.storeId) {
let params = {
phone: localGet("iphone") || localGet("geeker-user").userInfo.phone