-
Notifications
You must be signed in to change notification settings - Fork 40
Description
TypeError: 'get' on proxy: property 'quaternion' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '#' but got '#')
//切换场景
function changeScene(index) {
currIndex.value = index + 1
aligner.value.walkTo((index + 1) + "");
}`
data 数据是这样的
let temp = {
scene: {
// 场景的唯一标识
"photo_key": data.value.length,
// 场景的校正角度
"correction": [0, 0, 0],
// 场景的旋转角度 水平,数值,第三项固定为0
"rotation": [180, 0, 0],
"quaternion": [180, 0, 0],
"title": form.value.name,
"thumbnail": form.value.thumbnail,
// 球面贴图的资源
"sphereSource": {
//缩略图
// thumb: 'https://xxxxx:9200/micro-classroom-api/sys/common/static/temp/一楼工作区2_1726292996151.jpg',// form.value.panorama,
// 清晰切片图
thumb: '',
slices: ''
},
// 立方体贴图的资源
"cubeSource": {
thumb: form.value.panorama,
slices: ''
},
// 是否默认展示该场景
"is_main": form.value.isMain ? 1 : 0
}
}
data.value.push(temp)