hookehuyr

fix(profile): 修复最近学习时间显示为空的问题

...@@ -31,14 +31,9 @@ declare module 'vue' { ...@@ -31,14 +31,9 @@ declare module 'vue' {
31 UserAgreement: typeof import('./components/ui/UserAgreement.vue')['default'] 31 UserAgreement: typeof import('./components/ui/UserAgreement.vue')['default']
32 VanActionSheet: typeof import('vant/es')['ActionSheet'] 32 VanActionSheet: typeof import('vant/es')['ActionSheet']
33 VanButton: typeof import('vant/es')['Button'] 33 VanButton: typeof import('vant/es')['Button']
34 - VanCalendar: typeof import('vant/es')['Calendar']
35 VanCellGroup: typeof import('vant/es')['CellGroup'] 34 VanCellGroup: typeof import('vant/es')['CellGroup']
36 VanCheckbox: typeof import('vant/es')['Checkbox'] 35 VanCheckbox: typeof import('vant/es')['Checkbox']
37 - VanCol: typeof import('vant/es')['Col']
38 - VanConfigProvider: typeof import('vant/es')['ConfigProvider']
39 - VanDatePicker: typeof import('vant/es')['DatePicker']
40 VanDialog: typeof import('vant/es')['Dialog'] 36 VanDialog: typeof import('vant/es')['Dialog']
41 - VanDivider: typeof import('vant/es')['Divider']
42 VanEmpty: typeof import('vant/es')['Empty'] 37 VanEmpty: typeof import('vant/es')['Empty']
43 VanField: typeof import('vant/es')['Field'] 38 VanField: typeof import('vant/es')['Field']
44 VanForm: typeof import('vant/es')['Form'] 39 VanForm: typeof import('vant/es')['Form']
...@@ -46,15 +41,10 @@ declare module 'vue' { ...@@ -46,15 +41,10 @@ declare module 'vue' {
46 VanImage: typeof import('vant/es')['Image'] 41 VanImage: typeof import('vant/es')['Image']
47 VanImagePreview: typeof import('vant/es')['ImagePreview'] 42 VanImagePreview: typeof import('vant/es')['ImagePreview']
48 VanList: typeof import('vant/es')['List'] 43 VanList: typeof import('vant/es')['List']
49 - VanLoading: typeof import('vant/es')['Loading']
50 - VanNavBar: typeof import('vant/es')['NavBar']
51 - VanOverlay: typeof import('vant/es')['Overlay']
52 VanPicker: typeof import('vant/es')['Picker'] 44 VanPicker: typeof import('vant/es')['Picker']
53 - VanPickerGroup: typeof import('vant/es')['PickerGroup']
54 VanPopup: typeof import('vant/es')['Popup'] 45 VanPopup: typeof import('vant/es')['Popup']
55 VanProgress: typeof import('vant/es')['Progress'] 46 VanProgress: typeof import('vant/es')['Progress']
56 VanRate: typeof import('vant/es')['Rate'] 47 VanRate: typeof import('vant/es')['Rate']
57 - VanRow: typeof import('vant/es')['Row']
58 VanSwipe: typeof import('vant/es')['Swipe'] 48 VanSwipe: typeof import('vant/es')['Swipe']
59 VanSwipeItem: typeof import('vant/es')['SwipeItem'] 49 VanSwipeItem: typeof import('vant/es')['SwipeItem']
60 VanTab: typeof import('vant/es')['Tab'] 50 VanTab: typeof import('vant/es')['Tab']
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
64 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" 64 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"
65 /> 65 />
66 </svg> 66 </svg>
67 - <span>最近学习:{{ record.recent_study_time }}</span> 67 + <span>最近学习:{{ record.recent_study_time ? record.recent_study_time : '暂无' }}</span>
68 </div> 68 </div>
69 <div class="flex items-center"> 69 <div class="flex items-center">
70 <div class="flex-1"> 70 <div class="flex-1">
......