feat: 替换3d的lib,更改shelfId的获取方式
This commit is contained in:
@@ -99,9 +99,6 @@ export default defineComponent({
|
||||
surveyId() {
|
||||
return this.config.scene;
|
||||
},
|
||||
shelfId() {
|
||||
return this.config.shelf || this.scene.shelves[0].planetid;
|
||||
},
|
||||
scene() {
|
||||
return this.config.scene_information;
|
||||
},
|
||||
@@ -205,7 +202,7 @@ export default defineComponent({
|
||||
// question_index: this.question.question_index,
|
||||
// question_type: this.question.question_type,
|
||||
// planet_id: data[0].wareId,
|
||||
// shelve_planet_id: this.shelfId,
|
||||
// shelve_planet_id: data[0].shelfId,
|
||||
// action_info: data,
|
||||
// },
|
||||
// }).catch((e) => console.error(e));
|
||||
|
||||
@@ -76,9 +76,6 @@ export default defineComponent({
|
||||
surveyId() {
|
||||
return this.config.scene;
|
||||
},
|
||||
shelfId() {
|
||||
return this.config.shelf || this.scene.shelves[0].planetid;
|
||||
},
|
||||
scene() {
|
||||
return this.config.scene_information;
|
||||
},
|
||||
@@ -164,7 +161,7 @@ export default defineComponent({
|
||||
// question_index: this.question.question_index,
|
||||
// question_type: this.question.question_type,
|
||||
// planet_id: data[0].wareId,
|
||||
// shelve_planet_id: this.shelfId,
|
||||
// shelve_planet_id: data[0].shelfId,
|
||||
// action_info: data,
|
||||
// },
|
||||
// }).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",
|
||||
"planetid": "shelf1",
|
||||
|
||||
|
||||
"id": "shelf1",
|
||||
"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",
|
||||
"hideWhenSurvey": true,
|
||||
|
||||
Reference in New Issue
Block a user