| | |
| | | tableDatab.value = data.temperingGlassInfoList[0] |
| | | tableDatae.value = data.bigStorageCageUsage[0] |
| | | carPosition.value = data.carPostion[0] |
| | | console.log(carPosition.value); |
| | | window.localStorage.setItem('length', data.data.bigStorageCageInfos[0][1].length) |
| | | |
| | | // console.log(carPosition.value); |
| | | window.localStorage.setItem('length', data.bigStorageCageInfos[0][1].length) |
| | | let length = window.localStorage.getItem('length') |
| | | adjustedRects.value = data.data.bigStorageCageInfos[0][1].map(rect => ({ |
| | | // alert(length); |
| | | |
| | | adjustedRects.value = data.bigStorageCageInfos[0][1].map(rect => ({ |
| | | ...rect, |
| | | height: 20/length, |
| | | top: 29/length |