hookehuyr

fix: 修正获取消息详情API参数名从id改为i

...@@ -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']
......
1 <!-- 1 <!--
2 * @Date: 2025-03-24 12:56:24 2 * @Date: 2025-03-24 12:56:24
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-06-13 13:23:52 4 + * @LastEditTime: 2025-06-13 13:29:23
5 * @FilePath: /mlaj/src/views/profile/MessageDetailPage.vue 5 * @FilePath: /mlaj/src/views/profile/MessageDetailPage.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -46,7 +46,7 @@ const message = ref({ ...@@ -46,7 +46,7 @@ const message = ref({
46 46
47 onMounted(async () => { 47 onMounted(async () => {
48 // 调用接口获取消息详情 48 // 调用接口获取消息详情
49 - const { code, data } = await getNewsInfoAPI({ id: route.params.id }); 49 + const { code, data } = await getNewsInfoAPI({ i: route.params.id });
50 if (code) { 50 if (code) {
51 message.value = data; 51 message.value = data;
52 // 更新消息已读状态 52 // 更新消息已读状态
......