修改小车尺寸
This commit is contained in:
parent
e871f8f9e6
commit
9421ed8a1a
@ -430,8 +430,8 @@ const storeDialogRef = ref(null) // 仓库信息弹窗
|
|||||||
const list = ref([])
|
const list = ref([])
|
||||||
const nowObject = ref(null) // 地图当前对象 父组件传过来的
|
const nowObject = ref(null) // 地图当前对象 父组件传过来的
|
||||||
const testCarList = ref([]) //小车数组
|
const testCarList = ref([]) //小车数组
|
||||||
const carWidth = ref(40)
|
const carWidth = ref(60)
|
||||||
const carHeight = ref(22)
|
const carHeight = ref(32)
|
||||||
|
|
||||||
const convertActualToBrowser = (pointX, pointY) => {
|
const convertActualToBrowser = (pointX, pointY) => {
|
||||||
const y1 = Number(nowObject.value.showYamlJson.origin[1]) + Number(nowObject.value.showYamlJson.height) * Number(nowObject.value.showYamlJson.resolution)
|
const y1 = Number(nowObject.value.showYamlJson.origin[1]) + Number(nowObject.value.showYamlJson.height) * Number(nowObject.value.showYamlJson.resolution)
|
||||||
|
Loading…
Reference in New Issue
Block a user