Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-06-12 18:24:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
38661c3a6712adba9eaf2bd1524d500e2b155a40
38661c3a
1 parent
57316662
fix(profile): 修复最近学习时间显示为空的问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
11 deletions
src/components.d.ts
src/views/profile/LearningRecordsPage.vue
src/components.d.ts
View file @
38661c3
...
...
@@ -31,14 +31,9 @@ declare module 'vue' {
UserAgreement
:
typeof
import
(
'./components/ui/UserAgreement.vue'
)[
'default'
]
VanActionSheet
:
typeof
import
(
'vant/es'
)[
'ActionSheet'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanCalendar
:
typeof
import
(
'vant/es'
)[
'Calendar'
]
VanCellGroup
:
typeof
import
(
'vant/es'
)[
'CellGroup'
]
VanCheckbox
:
typeof
import
(
'vant/es'
)[
'Checkbox'
]
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanConfigProvider
:
typeof
import
(
'vant/es'
)[
'ConfigProvider'
]
VanDatePicker
:
typeof
import
(
'vant/es'
)[
'DatePicker'
]
VanDialog
:
typeof
import
(
'vant/es'
)[
'Dialog'
]
VanDivider
:
typeof
import
(
'vant/es'
)[
'Divider'
]
VanEmpty
:
typeof
import
(
'vant/es'
)[
'Empty'
]
VanField
:
typeof
import
(
'vant/es'
)[
'Field'
]
VanForm
:
typeof
import
(
'vant/es'
)[
'Form'
]
...
...
@@ -46,15 +41,10 @@ declare module 'vue' {
VanImage
:
typeof
import
(
'vant/es'
)[
'Image'
]
VanImagePreview
:
typeof
import
(
'vant/es'
)[
'ImagePreview'
]
VanList
:
typeof
import
(
'vant/es'
)[
'List'
]
VanLoading
:
typeof
import
(
'vant/es'
)[
'Loading'
]
VanNavBar
:
typeof
import
(
'vant/es'
)[
'NavBar'
]
VanOverlay
:
typeof
import
(
'vant/es'
)[
'Overlay'
]
VanPicker
:
typeof
import
(
'vant/es'
)[
'Picker'
]
VanPickerGroup
:
typeof
import
(
'vant/es'
)[
'PickerGroup'
]
VanPopup
:
typeof
import
(
'vant/es'
)[
'Popup'
]
VanProgress
:
typeof
import
(
'vant/es'
)[
'Progress'
]
VanRate
:
typeof
import
(
'vant/es'
)[
'Rate'
]
VanRow
:
typeof
import
(
'vant/es'
)[
'Row'
]
VanSwipe
:
typeof
import
(
'vant/es'
)[
'Swipe'
]
VanSwipeItem
:
typeof
import
(
'vant/es'
)[
'SwipeItem'
]
VanTab
:
typeof
import
(
'vant/es'
)[
'Tab'
]
...
...
src/views/profile/LearningRecordsPage.vue
View file @
38661c3
...
...
@@ -64,7 +64,7 @@
d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
/>
</svg>
<span>最近学习:{{ record.recent_study_time }}</span>
<span>最近学习:{{ record.recent_study_time
? record.recent_study_time : '暂无'
}}</span>
</div>
<div class="flex items-center">
<div class="flex-1">
...
...
Please
register
or
login
to post a comment