feat: LimitSettingModal 初始化 targetCount 和 quotaType 为固定默认值

This commit is contained in:
Wei_佳 2025-11-27 16:31:31 +08:00
parent cd4d00b013
commit df35a1a5bf

View File

@ -36,8 +36,8 @@ const currentRemaining = computed(() => props.userData?.remaining_count ?? 0)
watch(() => props.userData, (newData) => {
if (newData && Object.keys(newData).length > 0) {
limitForm.value = {
targetCount: newData.remaining_count || 0,
quotaType: newData.user_type || '免费体验',
targetCount: 0,
quotaType: '免费体验',
remark: ''
}
}