1
This commit is contained in:
parent
1d46ce5e92
commit
dd5e92b31b
@ -619,7 +619,7 @@ const getPositionMapListFun = async (positionMapId) => {
|
|||||||
|
|
||||||
pointList.value?.forEach((item) => {
|
pointList.value?.forEach((item) => {
|
||||||
item.formattedData = item.dataJson ? JSON.parse(item.dataJson) : ''
|
item.formattedData = item.dataJson ? JSON.parse(item.dataJson) : ''
|
||||||
console.log(JSON.parse(item.dataJson),item.type)
|
// console.log(JSON.parse(item.dataJson),item.type)
|
||||||
item.showData = item.dataJson ? (item.type == 2 ? JSON.parse(item.dataJson)[0] : JSON.parse(item.dataJson)) : null
|
item.showData = item.dataJson ? (item.type == 2 ? JSON.parse(item.dataJson)[0] : JSON.parse(item.dataJson)) : null
|
||||||
item.imgUrl = formatTypeImg(item.type)
|
item.imgUrl = formatTypeImg(item.type)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user