fix(权限完善):1.权限优化以下模块按钮查看权限全部归属超级管理员,只有职称角色未超级管理员用户才可以查看进入操作
deploy-hxtesting / build-and-deploy (push) Successful in 1m17s
deploy-hxtesting / build-and-deploy (push) Successful in 1m17s
1)如图一所示点击左下角个人信息弹出框中的“空间设置”、“成员管理“、”模型管理“、”全部设置“、”系统管理“ 2)点击进入”设置“页面中”空间“、”模型“、”发布集成“、”数据与扩展“、”系统管理“这几个大模块相关内容入口 2.成员管理页面增加一个字段”状态“:1-5 在职状态(试用/试用延期/正式/临时/实习)、6离职/7退休(顺便对数据进行清洗,工号首位带字母的都标记为离职其他都标记为正式) 3.检查各业务需求里所有选择员工相关都只能拉取选择正式员工!
This commit is contained in:
1 parent
b762deaf15
commit
7034d93256
49 files changed
+809
-130
No files matched your search
@@ -203,6 +203,7 @@ import { useRoute, useRouter } from 'vue-router'
|
||||
import type { LocationQueryRaw } from 'vue-router'
|
||||
import { useUIStore } from '@/stores/ui'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import { useTrainingRolesStore } from '@/stores/trainingRoles'
|
||||
import { useDeploymentCapabilitiesStore } from '@/stores/deploymentCapabilities'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { MessagePlugin } from 'tdesign-vue-next'
|
||||
@@ -239,6 +240,7 @@ import {
|
||||
} from '@/config/integrations'
|
||||
import {
|
||||
SETTINGS_SECTION_MIN_ROLE,
|
||||
SUPER_ADMIN_SETTINGS_SECTIONS,
|
||||
SYSTEM_ADMIN_SETTINGS_SECTIONS,
|
||||
} from '@/config/settingsAccess'
|
||||
import { SETTINGS_SECTION_CAPABILITY, skillSettingsSupported } from '@/config/deploymentCapabilities'
|
||||
@@ -257,6 +259,7 @@ const route = useRoute()
|
||||
const router = useRouter()
|
||||
const uiStore = useUIStore()
|
||||
const authStore = useAuthStore()
|
||||
const trainingRolesStore = useTrainingRolesStore()
|
||||
const deploymentCapabilities = useDeploymentCapabilitiesStore()
|
||||
const { t, te } = useI18n()
|
||||
const hostSkills = computed(() => hostSkillsOnly(
|
||||
@@ -331,7 +334,15 @@ const isSectionSupported = (key: string): boolean => {
|
||||
}
|
||||
|
||||
const canSeeSection = (key: string): boolean => {
|
||||
// 000167 权限收口:「空间 / 模型 / 数据与扩展 / 系统管理」分组的分区与
|
||||
// 「发布集成」分组整体仅超级管理员可见(培训职称角色=超级管理员 或 平台
|
||||
// 超管,判定在 stores/trainingRoles.ts)。深链直入受限分区会落到
|
||||
// 「权限不足」提示块,入口与内容同口径。
|
||||
if (SUPER_ADMIN_SETTINGS_SECTIONS.has(key)) {
|
||||
return trainingRolesStore.isSuperAdmin
|
||||
}
|
||||
if (isIntegrationSection(key)) {
|
||||
if (!trainingRolesStore.isSuperAdmin) return false
|
||||
const min = INTEGRATION_TAB_MIN_ROLE[integrationTabFromSection(key)]
|
||||
if (!min) return true
|
||||
if (authStore.canAccessAllTenants) return true
|
||||
@@ -621,8 +632,18 @@ const handleSettingsNav = (e: CustomEvent) => {
|
||||
|
||||
onMounted(() => {
|
||||
window.addEventListener('settings-nav', handleSettingsNav as EventListener)
|
||||
// 分区可见性依赖职称角色(isSuperAdmin),深链直开设置页时也要先拉档案;
|
||||
// 切换空间后重取(store 内按空间键去重)。
|
||||
trainingRolesStore.ensureLoaded()
|
||||
})
|
||||
|
||||
watch(
|
||||
() => authStore.selectedTenantId,
|
||||
() => {
|
||||
trainingRolesStore.ensureLoaded()
|
||||
},
|
||||
)
|
||||
|
||||
watch(currentSection, () => {
|
||||
if (document.activeElement instanceof HTMLElement) {
|
||||
document.activeElement.blur()
|
||||
|
||||
@@ -196,6 +196,15 @@
|
||||
</template>
|
||||
</t-tab-panel>
|
||||
</t-tabs>
|
||||
<t-select
|
||||
v-show="activeListTab === 'members'" v-model="employmentStatusFilter"
|
||||
class="members-status-filter" clearable
|
||||
:placeholder="$t('tenantMember.employmentStatus.filterPlaceholder')"
|
||||
:aria-label="$t('tenantMember.columns.employmentStatus')"
|
||||
@change="onEmploymentStatusFilterChange">
|
||||
<t-option v-for="opt in employmentStatusOptions" :key="opt.value" :value="opt.value"
|
||||
:label="$t(opt.labelKey)" />
|
||||
</t-select>
|
||||
<t-input v-show="activeListTab === 'members'" v-model="searchQuery" class="members-list-search"
|
||||
:placeholder="$t('tenantMember.searchPlaceholder')" :aria-label="$t('tenantMember.searchPlaceholder')" clearable>
|
||||
<template #prefix-icon><t-icon name="search" size="16px" /></template>
|
||||
@@ -356,6 +365,21 @@
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
<template #employment_status="{ row }">
|
||||
<div class="status-cell">
|
||||
<t-select v-if="canManage && row.user_id !== currentUserId"
|
||||
:model-value="row.employment_status" class="member-status-select" :borderless="true"
|
||||
:popup-props="roleSelectPopupProps"
|
||||
:aria-label="`${memberPrimary(row)} · ${$t('tenantMember.columns.employmentStatus')}`"
|
||||
@change="(val: number) => onEmploymentStatusChange(row, val)">
|
||||
<t-option v-for="opt in employmentStatusOptions" :key="opt.value" :value="opt.value"
|
||||
:label="$t(opt.labelKey)" />
|
||||
</t-select>
|
||||
<t-tag v-else :theme="employmentStatusTagTheme(row.employment_status)" size="small">
|
||||
{{ employmentStatusLabel(row.employment_status) }}
|
||||
</t-tag>
|
||||
</div>
|
||||
</template>
|
||||
<template #joined_at="{ row }">{{ formatDate(row.joined_at) }}</template>
|
||||
<template #actions="{ row }">
|
||||
<t-popconfirm
|
||||
@@ -668,9 +692,12 @@ import { auditActionLabel } from '@/i18n/auditActionLabel'
|
||||
import {
|
||||
listMembers,
|
||||
updateMemberRole,
|
||||
updateMemberEmploymentStatus,
|
||||
removeMember,
|
||||
importMembers,
|
||||
syncCasdoorMembers,
|
||||
EMPLOYMENT_STATUS_OPTIONS,
|
||||
employmentStatusTagTheme,
|
||||
type TenantMember,
|
||||
type TenantRole,
|
||||
type MemberImportResult,
|
||||
@@ -728,6 +755,52 @@ const searchQuery = ref('')
|
||||
const activeListTab = ref('members')
|
||||
/** 已应用到服务端筛选的检索词(相对输入框防抖) */
|
||||
const memberSearchQ = ref('')
|
||||
|
||||
// ---- 在职状态(000167) ----------------------------------------------------
|
||||
// 状态列字典 + 筛选:1试用/2试用延期/3正式/4临时/5实习/6离职/7退休。
|
||||
// 存量与开户由工号规则决定(首位字母→离职,其余→正式),此处可人工修正。
|
||||
const employmentStatusOptions = EMPLOYMENT_STATUS_OPTIONS
|
||||
const employmentStatusFilter = ref<number | null>(null)
|
||||
|
||||
const employmentStatusLabel = (status: number): string => {
|
||||
const opt = employmentStatusOptions.find((o) => o.value === status)
|
||||
return opt ? t(opt.labelKey) : '—'
|
||||
}
|
||||
|
||||
function onEmploymentStatusFilterChange() {
|
||||
if (!activeTenantId.value) return
|
||||
membersPage.value = 1
|
||||
void loadMembers()
|
||||
}
|
||||
|
||||
async function onEmploymentStatusChange(row: TenantMember, newStatus: number) {
|
||||
const prev = row.employment_status
|
||||
if (prev === newStatus) return
|
||||
if (!activeTenantId.value) return
|
||||
try {
|
||||
const resp = await updateMemberEmploymentStatus(activeTenantId.value, row.user_id, newStatus)
|
||||
if (resp.success) {
|
||||
// 与 onRoleChange 同因:t-table 行对象可能是浅拷贝,必须替换源数组
|
||||
// 中的对象才能触发单元格重渲染。
|
||||
const idx = members.value.findIndex((m) => m.user_id === row.user_id)
|
||||
if (idx >= 0) {
|
||||
const merged = { ...members.value[idx], employment_status: newStatus }
|
||||
members.value.splice(idx, 1, merged)
|
||||
}
|
||||
MessagePlugin.success(t('tenantMember.employmentStatus.changeSuccess'))
|
||||
return
|
||||
}
|
||||
MessagePlugin.error(resp.message || t('tenantMember.errors.generic'))
|
||||
} catch (err: any) {
|
||||
const status = err?.status
|
||||
if (status === 404) {
|
||||
MessagePlugin.error(t('tenantMember.errors.notFound'))
|
||||
} else {
|
||||
MessagePlugin.error(err?.message || t('tenantMember.errors.generic'))
|
||||
}
|
||||
// :model-value 单向绑定,渲染值自动回退为 prev,无需手工还原。
|
||||
}
|
||||
}
|
||||
let memberSearchDebounceTimer: number | undefined
|
||||
|
||||
const membersTotal = ref(0)
|
||||
@@ -892,6 +965,8 @@ const columns = computed(() => [
|
||||
{ colKey: 'deptName', title: t('tenantMember.columns.deptName'), ellipsis: true, width: 130 },
|
||||
{ colKey: 'displayName', title: t('tenantMember.columns.displayName'), width: 120 },
|
||||
{ colKey: 'role', title: t('tenantMember.columns.role'), width: 168 },
|
||||
// 在职状态(000167):管理页行内下拉(Owner+),只读身份展示标签。
|
||||
{ colKey: 'employment_status', title: t('tenantMember.columns.employmentStatus'), width: 120 },
|
||||
{ colKey: 'joined_at', title: t('tenantMember.columns.joinedAt'), width: 154 },
|
||||
{ colKey: 'actions', title: t('tenantMember.columns.operations'), width: 88, align: 'left' },
|
||||
])
|
||||
@@ -971,6 +1046,7 @@ async function loadMembers() {
|
||||
page: membersPage.value,
|
||||
page_size: membersPageSize.value,
|
||||
q: memberSearchQ.value || undefined,
|
||||
employment_status: employmentStatusFilter.value || undefined,
|
||||
})
|
||||
if (resp.success && resp.data) {
|
||||
const total = resp.data.total ?? 0
|
||||
@@ -1945,10 +2021,19 @@ watch(
|
||||
:deep(.t-input) { border-radius: var(--app-radius-sm); }
|
||||
}
|
||||
|
||||
// 在职状态筛选下拉(搜索框左侧)
|
||||
.members-status-filter {
|
||||
flex: 0 0 150px;
|
||||
width: 150px;
|
||||
margin-right: 8px;
|
||||
:deep(.t-input) { border-radius: var(--app-radius-sm); }
|
||||
}
|
||||
|
||||
@container (max-width: 700px) {
|
||||
.members-tabbar { flex-wrap: wrap; gap: 0; }
|
||||
.members-tabs { flex-basis: 100%; }
|
||||
.members-list-search { flex: 1 1 100%; width: 100%; margin: 8px 0; }
|
||||
.members-status-filter { flex: 1 1 100%; width: 100%; margin: 8px 0 0; }
|
||||
.members-list-search { flex: 1 1 100%; width: 100%; margin: 8px 0 0; }
|
||||
}
|
||||
|
||||
.member-role-label {
|
||||
@@ -1988,6 +2073,32 @@ watch(
|
||||
:deep(.t-input__prefix) { margin-right: 6px; color: var(--td-text-color-secondary); }
|
||||
}
|
||||
|
||||
// 在职状态单元格:可编辑行内下拉与角色列同风格;只读身份展示小标签。
|
||||
.status-cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.member-status-select {
|
||||
width: 104px;
|
||||
flex: 0 0 104px;
|
||||
|
||||
:deep(.t-input) {
|
||||
height: 28px;
|
||||
min-height: 28px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--app-radius-sm);
|
||||
background: var(--td-bg-color-secondarycontainer);
|
||||
font-size: var(--app-text-md);
|
||||
|
||||
&:hover { border-color: var(--td-component-stroke); }
|
||||
&.t-is-focused { border-color: var(--td-brand-color); }
|
||||
}
|
||||
}
|
||||
|
||||
.data-table-shell {
|
||||
.settings-data-table();
|
||||
|
||||
|
||||
@@ -654,6 +654,9 @@ const saving = ref(false)
|
||||
const courses = ref<TrainingCourse[]>([])
|
||||
const depts = ref<TrainingDept[]>([])
|
||||
const members = ref<TrainingMember[]>([])
|
||||
// 全量名册(含非正式,000167):仅用于讲师/操作人/参训人等历史数据人名回显,
|
||||
// 选人与按部门/岗位圈人一律用 members(正式口径)。
|
||||
const allMembers = ref<TrainingMember[]>([])
|
||||
const sessions = ref<TrainingCourseSession[]>([])
|
||||
const lecturers = ref<TrainingLecturerOption[]>([])
|
||||
// 课程管理条目(课程资产主数据):创建/编辑计划的「课程名称」下拉数据源
|
||||
@@ -1080,10 +1083,12 @@ const onFormImportKbBank = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
// 讲师只读展示:员工名册映射姓名,外部讲师直接显示
|
||||
// 讲师只读展示:员工名册映射姓名(先正式名册,回退全量名册保历史讲师姓名,
|
||||
// 000167),外部讲师直接显示
|
||||
const lecturerDisplay = (lecturerId: string) => {
|
||||
if (lecturerId) {
|
||||
const byUserId = members.value.find((m) => m.user_id === lecturerId)
|
||||
|| allMembers.value.find((m) => m.user_id === lecturerId)
|
||||
if (byUserId) return byUserId.user_name || byUserId.employee_no
|
||||
const byRoster = lecturers.value.find((l) => l.id === lecturerId)
|
||||
if (byRoster) return byRoster.name
|
||||
@@ -1175,9 +1180,12 @@ const openChangeLogs = async (row: TrainingCourse) => {
|
||||
}
|
||||
}
|
||||
|
||||
// 操作人展示:operator_id 为平台用户 id,经名册映射姓名
|
||||
// 操作人展示:operator_id 为平台用户 id,经名册映射姓名(回退全量名册,
|
||||
// 000167:历史操作人可能已离职)
|
||||
const operatorName = (operatorId: string) =>
|
||||
members.value.find((m) => m.user_id === operatorId)?.user_name || operatorId.slice(0, 8)
|
||||
members.value.find((m) => m.user_id === operatorId)?.user_name
|
||||
|| allMembers.value.find((m) => m.user_id === operatorId)?.user_name
|
||||
|| operatorId.slice(0, 8)
|
||||
|
||||
const form = ref({
|
||||
library_course_id: '',
|
||||
@@ -1462,11 +1470,14 @@ const teachTimeDisplay = (value: string) => {
|
||||
const loadAll = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const [c, d, m, l, s, lib, banks] = await Promise.all([
|
||||
const [c, d, m, all, l, s, lib, banks] = await Promise.all([
|
||||
listCourses({ page_size: 100 }),
|
||||
listDepts(),
|
||||
// 全量名册([2026-11-29 复测] 单页 500 截断,参加人员选择会漏老批次员工)
|
||||
// 选人与按部门/岗位圈人(000167):仅正式员工(参加人员选择会漏老批次员工的
|
||||
// 截断问题仍由 listAllTrainingMembers 的全量分页循环解决)
|
||||
listAllTrainingMembers().catch(() => []),
|
||||
// 讲师/操作人/参训人等历史数据人名回显:全量名册(含非正式)
|
||||
listAllTrainingMembers(500, { formalOnly: false }).catch(() => []),
|
||||
listLecturers().catch(() => []),
|
||||
listSessions({ year: 0, month: 0 }).catch(() => []),
|
||||
// scope=plan(000163):创建月度计划选课口径 —— 维护角色可选全部部门课程,
|
||||
@@ -1481,6 +1492,7 @@ const loadAll = async () => {
|
||||
}))
|
||||
depts.value = unwrap(d) || []
|
||||
members.value = m || []
|
||||
allMembers.value = all || []
|
||||
lecturers.value = (l && unwrap(l)) || []
|
||||
sessions.value = (s && unwrap(s)) || []
|
||||
libraryCourses.value = (lib && unwrap(lib)?.items) || []
|
||||
@@ -1672,7 +1684,9 @@ const courseHasParticipants = (row: TrainingCourse) => {
|
||||
if ((row.expected_count ?? 0) > 0) return true
|
||||
const names = (row.post_scope || '').split(/[、,,;;\s]+/).map((s) => s.trim()).filter(Boolean)
|
||||
if (!names.length) return false
|
||||
const nameSet = new Set(members.value.map((m) => m.user_name || m.employee_no).filter(Boolean))
|
||||
// 历史课程 post_scope 姓名匹配用全量名册(000167):存量课程参训人可能已离职,
|
||||
// 用正式口径名单会让发布校验误判「未设置参加人员」
|
||||
const nameSet = new Set(allMembers.value.map((m) => m.user_name || m.employee_no).filter(Boolean))
|
||||
return names.some((n) => nameSet.has(n))
|
||||
}
|
||||
|
||||
|
||||
@@ -329,10 +329,12 @@ const {
|
||||
watch(filteredRecords, resetRecordPage)
|
||||
|
||||
const loadAll = async () => {
|
||||
const [s, m, c, d] = await Promise.all([
|
||||
const [s, m, all, c, d] = await Promise.all([
|
||||
listSessions({ page_size: 200 }),
|
||||
// 全量名册([2026-11-29 复测] 单页 500 截断会漏人,考生/代交卷按全量口径)
|
||||
// 选人下拉(000167):仅正式员工(离职/退休不再可选代交卷对象)
|
||||
listAllTrainingMembers().catch(() => []),
|
||||
// 历史成绩记录的姓名映射:拉全量(含非正式),避免已离职成员的名字回显失败
|
||||
listAllTrainingMembers(500, { formalOnly: false }).catch(() => []),
|
||||
listCourses({ page_size: 100 }).catch(() => null),
|
||||
listDepts().catch(() => null),
|
||||
])
|
||||
@@ -341,14 +343,16 @@ const loadAll = async () => {
|
||||
deptNames.value = Object.fromEntries(
|
||||
((d && unwrap(d) || []) as TrainingDept[]).map((dep) => [dep.id, dep.name]),
|
||||
)
|
||||
if (m?.length) {
|
||||
members.value = m
|
||||
if (all?.length) {
|
||||
const labels: Record<string, string> = {}
|
||||
for (const mem of members.value) {
|
||||
for (const mem of all) {
|
||||
labels[mem.id] = `${mem.employee_no || '-'} ${mem.post || ''}`.trim() || mem.id.slice(0, 8)
|
||||
}
|
||||
memberLabels.value = labels
|
||||
}
|
||||
if (m?.length) {
|
||||
members.value = m
|
||||
}
|
||||
// 优先聚焦培训课程页「考试状态」列跳转指定的课程,否则默认第一门有试卷的课程
|
||||
const presetCourse = props.initialCourseId
|
||||
const target = presetCourse || courses.value[0]?.id || ''
|
||||
|
||||
@@ -585,6 +585,8 @@ const saving = ref(false)
|
||||
const exporting = ref(false)
|
||||
const items = ref<TrainingLibraryCourse[]>([])
|
||||
const members = ref<TrainingMember[]>([])
|
||||
// 全量名册(含非正式,000167):仅用于已存权限/历史数据的人名回显,选人一律用 members(正式)
|
||||
const allMembers = ref<TrainingMember[]>([])
|
||||
const depts = ref<TrainingDept[]>([])
|
||||
// 课程分类选项 = 配置中心「课程分类」字典(fetchCourseCategories 缺失回退默认)
|
||||
const configCategories = ref<string[]>([])
|
||||
@@ -679,9 +681,11 @@ watch(permList, (list, prev) => {
|
||||
const splitSuitable = (v: string) =>
|
||||
(v || '').split(/[、,,;;]/).map((s) => s.trim()).filter(Boolean)
|
||||
|
||||
// 人员显示名(成员名册联查;未命中回退原始 id,避免标签显示为空)
|
||||
// 人员显示名(成员名册联查;未命中回退原始 id,避免标签显示为空)。
|
||||
// 先查正式名册,再回退全量名册(含离职/退休),历史课程权限人名不失真。
|
||||
const memberDisplayName = (userId: string) => {
|
||||
const hit = members.value.find((m) => m.user_id === userId)
|
||||
|| allMembers.value.find((m) => m.user_id === userId)
|
||||
return hit?.user_name || hit?.employee_no || userId
|
||||
}
|
||||
|
||||
@@ -862,10 +866,12 @@ const lecturerText = (row: TrainingLibraryCourse) =>
|
||||
const loadAll = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const [lib, m, d, cats, me] = await Promise.all([
|
||||
const [lib, m, all, d, cats, me] = await Promise.all([
|
||||
listCourseLibrary({ page_size: 500 }),
|
||||
// 全量名册([2026-11-29 复测] 单页 500 截断会漏人,讲师/权限人员选择按全量)
|
||||
// 讲师/权限人员选择(000167):仅正式员工
|
||||
listAllTrainingMembers().catch(() => []),
|
||||
// 已存课程权限的人员显示名回退全量名册,避免离职成员姓名回显为 id
|
||||
listAllTrainingMembers(500, { formalOnly: false }).catch(() => []),
|
||||
listDepts().catch(() => null),
|
||||
fetchCourseCategories(),
|
||||
// 本人档案:新增课程「所属部门」默认当前登录用户所在部门
|
||||
@@ -878,6 +884,7 @@ const loadAll = async () => {
|
||||
suitable_members: cleanDeptNameText(row.suitable_members),
|
||||
}))
|
||||
members.value = m || []
|
||||
allMembers.value = all || []
|
||||
depts.value = (d && unwrap(d)) || []
|
||||
configCategories.value = cats
|
||||
const meBody = me && unwrap(me)
|
||||
|
||||
@@ -402,23 +402,27 @@ const extraFlags = (row: TrainingSignRecord) =>
|
||||
const loadAll = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const [s, c, m] = await Promise.all([
|
||||
const [s, c, m, all] = await Promise.all([
|
||||
listSessions({ page_size: 200 }),
|
||||
listCourses({ page_size: 200 }),
|
||||
// 全量名册([2026-11-29 复测] 单页 500 截断会漏人,签到明细姓名映射按全量)
|
||||
// 补录学员下拉(000167):仅正式员工(离职/退休不再可选)
|
||||
listAllTrainingMembers().catch(() => []),
|
||||
// 签到明细姓名映射:拉全量(含非正式),避免已离职成员的名字回显失败
|
||||
listAllTrainingMembers(500, { formalOnly: false }).catch(() => []),
|
||||
])
|
||||
sessions.value = unwrap(s) || []
|
||||
courses.value = unwrap(c)?.items || []
|
||||
if (m?.length) {
|
||||
members.value = m
|
||||
if (all?.length) {
|
||||
const labels: Record<string, string> = {}
|
||||
for (const mem of members.value) {
|
||||
for (const mem of all) {
|
||||
// 签到明细学员列(000165):「姓名 工号」,无姓名时回退工号
|
||||
labels[mem.id] = [mem.user_name || '', mem.employee_no || ''].filter(Boolean).join(' ') || mem.id.slice(0, 8)
|
||||
}
|
||||
memberLabels.value = labels
|
||||
}
|
||||
if (m?.length) {
|
||||
members.value = m
|
||||
}
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user