杂务:新增声明级注释覆盖率
This commit is contained in:
@@ -169,7 +169,15 @@ import {
|
||||
TeamOutlined,
|
||||
UserOutlined
|
||||
} from '@ant-design/icons-vue'
|
||||
/**
|
||||
* Purpose: UserVO supports HomeView.vue by holding or executing the user vo page or API role.
|
||||
* Usage: import, call, read, or update this type from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
import { userApi, type UserVO } from '@/api/admin'
|
||||
/**
|
||||
* Purpose: PermissionVO supports HomeView.vue by holding or executing the permission vo page or API role.
|
||||
* Usage: import, call, read, or update this type from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
import { permissionApi, type PermissionVO } from '@/api/permission'
|
||||
import { DEFAULT_AVATAR } from '@/constants'
|
||||
import { message } from 'ant-design-vue'
|
||||
@@ -177,11 +185,23 @@ import { useAdminViewport } from '@/composables/useAdminViewport'
|
||||
import { isBootstrapAdminUser } from './admin-helpers'
|
||||
import { isAllowedForShoplessPlatformAdmin } from '@/utils/platform-admin-permissions'
|
||||
|
||||
/**
|
||||
* Purpose: router supports HomeView.vue by holding or executing the router page or API role.
|
||||
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
const router = useRouter()
|
||||
const { isMobile } = useAdminViewport()
|
||||
/** currentTime is a reactive state variable used by the template and event handlers. */
|
||||
const currentTime = ref('')
|
||||
/**
|
||||
* Purpose: userInfo supports HomeView.vue by holding or executing the user info page or API role.
|
||||
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
const userInfo = ref<UserVO | null>(null)
|
||||
/**
|
||||
* Purpose: userPermissions supports HomeView.vue by holding or executing the user permissions page or API role.
|
||||
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
const userPermissions = ref<PermissionVO[]>([])
|
||||
let timer: number | null = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user