feat: 替换3d的lib,更改shelfId的获取方式
This commit is contained in:
@@ -99,9 +99,6 @@ export default defineComponent({
|
|||||||
surveyId() {
|
surveyId() {
|
||||||
return this.config.scene;
|
return this.config.scene;
|
||||||
},
|
},
|
||||||
shelfId() {
|
|
||||||
return this.config.shelf || this.scene.shelves[0].planetid;
|
|
||||||
},
|
|
||||||
scene() {
|
scene() {
|
||||||
return this.config.scene_information;
|
return this.config.scene_information;
|
||||||
},
|
},
|
||||||
@@ -205,7 +202,7 @@ export default defineComponent({
|
|||||||
// question_index: this.question.question_index,
|
// question_index: this.question.question_index,
|
||||||
// question_type: this.question.question_type,
|
// question_type: this.question.question_type,
|
||||||
// planet_id: data[0].wareId,
|
// planet_id: data[0].wareId,
|
||||||
// shelve_planet_id: this.shelfId,
|
// shelve_planet_id: data[0].shelfId,
|
||||||
// action_info: data,
|
// action_info: data,
|
||||||
// },
|
// },
|
||||||
// }).catch((e) => console.error(e));
|
// }).catch((e) => console.error(e));
|
||||||
|
|||||||
@@ -76,9 +76,6 @@ export default defineComponent({
|
|||||||
surveyId() {
|
surveyId() {
|
||||||
return this.config.scene;
|
return this.config.scene;
|
||||||
},
|
},
|
||||||
shelfId() {
|
|
||||||
return this.config.shelf || this.scene.shelves[0].planetid;
|
|
||||||
},
|
|
||||||
scene() {
|
scene() {
|
||||||
return this.config.scene_information;
|
return this.config.scene_information;
|
||||||
},
|
},
|
||||||
@@ -164,7 +161,7 @@ export default defineComponent({
|
|||||||
// question_index: this.question.question_index,
|
// question_index: this.question.question_index,
|
||||||
// question_type: this.question.question_type,
|
// question_type: this.question.question_type,
|
||||||
// planet_id: data[0].wareId,
|
// planet_id: data[0].wareId,
|
||||||
// shelve_planet_id: this.shelfId,
|
// shelve_planet_id: data[0].shelfId,
|
||||||
// action_info: data,
|
// action_info: data,
|
||||||
// },
|
// },
|
||||||
// }).catch((e) => console.error(e));
|
// }).catch((e) => console.error(e));
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -18,7 +18,8 @@ export const scenes = [
|
|||||||
{
|
{
|
||||||
"name": "货架1",
|
"name": "货架1",
|
||||||
"planetid": "shelf1",
|
"planetid": "shelf1",
|
||||||
|
|
||||||
|
"id": "shelf1",
|
||||||
"url": "https://diaoyanxingqiu.oss-cn-zhangjiakou.aliyuncs.com/3d/shelves/shelves-v3-store/v3.5/shelf/shelf-ghost-1.glb",
|
"url": "https://diaoyanxingqiu.oss-cn-zhangjiakou.aliyuncs.com/3d/shelves/shelves-v3-store/v3.5/shelf/shelf-ghost-1.glb",
|
||||||
"urlThumb": "https://diaoyanxingqiu.oss-cn-zhangjiakou.aliyuncs.com/3d/shelves/shelves-v3-store/v3.5/shelf/shelf-ghost-1.png",
|
"urlThumb": "https://diaoyanxingqiu.oss-cn-zhangjiakou.aliyuncs.com/3d/shelves/shelves-v3-store/v3.5/shelf/shelf-ghost-1.png",
|
||||||
"hideWhenSurvey": true,
|
"hideWhenSurvey": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user