diff --git a/src/pages/academic-report/index.vue b/src/pages/academic-report/index.vue index f3f793d..ed538d5 100644 --- a/src/pages/academic-report/index.vue +++ b/src/pages/academic-report/index.vue @@ -281,7 +281,7 @@ onMounted(() => { 语感训练句子 - {{ showChildData.learnTime || 0 }} + {{ secondsToHours(showChildData.learnTime) }} 有效学习时长 @@ -311,7 +311,7 @@ onMounted(() => { 订正正确 - {{ showChildData.learnTime || 0 }} + {{ secondsToHours(showChildData.learnTime) }} 有效学习时长 diff --git a/src/pages/mine/Components/recharge/index.vue b/src/pages/mine/Components/recharge/index.vue index 52e359a..89353dc 100644 --- a/src/pages/mine/Components/recharge/index.vue +++ b/src/pages/mine/Components/recharge/index.vue @@ -18,6 +18,10 @@ const show = computed({ get: () => props.modelValue, set: val => { emit('update:modelValue', val) + if (!val) { + customMoney.value = '' + moneyType.value = defaultMoneyType + } }, })