Compare commits

...

2 Commits

Author SHA1 Message Date
f4232e8752 udpate 1.6.5 2025-12-23 16:18:23 +08:00
41e2959a72 fix travel location type 2025-12-23 16:18:16 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
</view> </view>
<view class="item"> <view class="item">
<text class="label">版本:</text> <text class="label">版本:</text>
<text>1.6.4</text> <text>1.6.5</text>
</view> </view>
<view class="item copyright"> <view class="item copyright">
<text>{{copyright}}</text> <text>{{copyright}}</text>

View File

@ -2,7 +2,7 @@
import { Network, WechatMediaItem } from "../../../utils/Network"; import { Network, WechatMediaItem } from "../../../utils/Network";
import { TravelLocationApi } from "../../../api/TravelLocationApi"; import { TravelLocationApi } from "../../../api/TravelLocationApi";
import { TravelLocationType } from "../../../types/Travel"; import { TravelLocationType, TravelLocationTypeLabel } from "../../../types/Travel";
import { MediaAttachExt, MediaAttachType } from "../../../types/Attachment"; import { MediaAttachExt, MediaAttachType } from "../../../types/Attachment";
import config from "../../../config/index"; import config from "../../../config/index";
import { MediaItem, MediaItemType } from "../../../types/UI"; import { MediaItem, MediaItemType } from "../../../types/UI";
@ -93,7 +93,7 @@ Page({
mediaItemTypeEnum: { mediaItemTypeEnum: {
...MediaItemType ...MediaItemType
}, },
locationTypes: ["美食", "酒店", "交通", "景点", "购物", "玩乐", "生活"], locationTypes: Object.values(TravelLocationTypeLabel),
locationTypeValues: [ locationTypeValues: [
TravelLocationType.FOOD, TravelLocationType.FOOD,
TravelLocationType.HOTEL, TravelLocationType.HOTEL,