fix travel location type
This commit is contained in:
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user