|
@@ -23,7 +23,7 @@ interface ServerTagging {
|
|
"tagDescribe": string,
|
|
"tagDescribe": string,
|
|
"tagTitle": string,
|
|
"tagTitle": string,
|
|
|
|
|
|
- show3dTitle: boolean
|
|
|
|
|
|
+ show3dTitle: number
|
|
audio: string
|
|
audio: string
|
|
|
|
|
|
}
|
|
}
|
|
@@ -50,8 +50,8 @@ const serviceToLocal = (serviceTagging: ServerTagging): Tagging => ({
|
|
title: serviceTagging.tagTitle,
|
|
title: serviceTagging.tagTitle,
|
|
desc: serviceTagging.tagDescribe,
|
|
desc: serviceTagging.tagDescribe,
|
|
part: serviceTagging.leaveBehind,
|
|
part: serviceTagging.leaveBehind,
|
|
- show3dTitle: true,
|
|
|
|
- // show3dTitle: serviceTagging.show3dTitle,
|
|
|
|
|
|
+ // show3dTitle: true,
|
|
|
|
+ show3dTitle: Boolean(serviceTagging.show3dTitle),
|
|
method: serviceTagging.getMethod,
|
|
method: serviceTagging.getMethod,
|
|
principal: serviceTagging.getUser,
|
|
principal: serviceTagging.getUser,
|
|
audio: serviceTagging.audio,
|
|
audio: serviceTagging.audio,
|
|
@@ -62,7 +62,7 @@ const localToService = (tagging: Tagging, update = false): PartialProps<ServerTa
|
|
"hotIconId": Number(tagging.styleId),
|
|
"hotIconId": Number(tagging.styleId),
|
|
"fusionId": params.caseId,
|
|
"fusionId": params.caseId,
|
|
"getMethod": tagging.method,
|
|
"getMethod": tagging.method,
|
|
- show3dTitle: tagging.show3dTitle,
|
|
|
|
|
|
+ show3dTitle: Number(tagging.show3dTitle),
|
|
"getUser": tagging.principal,
|
|
"getUser": tagging.principal,
|
|
"hotIconUrl": "static/img_default/lQLPDhrvVzvNvTswMLAOU-UNqYnnZQG1YPJUwLwA_48_48.png",
|
|
"hotIconUrl": "static/img_default/lQLPDhrvVzvNvTswMLAOU-UNqYnnZQG1YPJUwLwA_48_48.png",
|
|
"tagId": update ? Number(tagging.id) : undefined,
|
|
"tagId": update ? Number(tagging.id) : undefined,
|