bugfix: 编辑订阅计划管理员用户邮箱回显

This commit is contained in:
2026-01-07 16:43:01 +08:00
parent 1fa60557df
commit 3fa7d407d2

View File

@@ -549,7 +549,6 @@ const disableEndTime = date => {
} }
} }
const normalizeStatus = (status?: string): PlanStatus | undefined => { const normalizeStatus = (status?: string): PlanStatus | undefined => {
if (!status) return undefined if (!status) return undefined
const upper = status.toUpperCase() as PlanStatus const upper = status.toUpperCase() as PlanStatus
@@ -736,6 +735,7 @@ const openEdit = (record: SubscriptionPlan) => {
} }
} }
} }
modalVisible.value = true
if (record.adminAccId) { if (record.adminAccId) {
nextTick(() => { nextTick(() => {
userRef.value.patchList({ userRef.value.patchList({
@@ -745,8 +745,6 @@ const openEdit = (record: SubscriptionPlan) => {
}) })
}) })
} }
modalVisible.value = true
} }
const validateForm = (): boolean => { const validateForm = (): boolean => {