fix:显示时间
This commit is contained in:
parent
defc2ab5f1
commit
29f200adb9
@ -281,7 +281,7 @@ onMounted(() => {
|
|||||||
<text class="label">语感训练句子</text>
|
<text class="label">语感训练句子</text>
|
||||||
</tui-grid-item>
|
</tui-grid-item>
|
||||||
<tui-grid-item :cell="2">
|
<tui-grid-item :cell="2">
|
||||||
<view class="value">{{ showChildData.learnTime || 0 }}</view>
|
<view class="value">{{ secondsToHours(showChildData.learnTime) }}</view>
|
||||||
<text class="label">有效学习时长</text>
|
<text class="label">有效学习时长</text>
|
||||||
</tui-grid-item>
|
</tui-grid-item>
|
||||||
</tui-grid>
|
</tui-grid>
|
||||||
@ -311,7 +311,7 @@ onMounted(() => {
|
|||||||
<text class="label">订正正确</text>
|
<text class="label">订正正确</text>
|
||||||
</tui-grid-item>
|
</tui-grid-item>
|
||||||
<tui-grid-item :cell="2">
|
<tui-grid-item :cell="2">
|
||||||
<view class="value">{{ showChildData.learnTime || 0 }}</view>
|
<view class="value">{{ secondsToHours(showChildData.learnTime) }}</view>
|
||||||
<text class="label">有效学习时长</text>
|
<text class="label">有效学习时长</text>
|
||||||
</tui-grid-item>
|
</tui-grid-item>
|
||||||
</tui-grid>
|
</tui-grid>
|
||||||
|
@ -18,6 +18,10 @@ const show = computed({
|
|||||||
get: () => props.modelValue,
|
get: () => props.modelValue,
|
||||||
set: val => {
|
set: val => {
|
||||||
emit('update:modelValue', val)
|
emit('update:modelValue', val)
|
||||||
|
if (!val) {
|
||||||
|
customMoney.value = ''
|
||||||
|
moneyType.value = defaultMoneyType
|
||||||
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user