fix: bug 作答明细的 3D question_index

This commit is contained in:
wanganmao
2022-12-01 13:46:14 +08:00
parent 240d8a77b2
commit 17b67ec72b
2 changed files with 2 additions and 2 deletions

View File

@@ -207,7 +207,7 @@ export default defineComponent({
this.scene = this.config.scene_information;
// 解决缓存问题,答卷时加载场景信息
if(!this.scene) {
if(!this.scene && this.question.question_index) {
var res = await BrowsingRecordApi.getSurveysScene({
sn: this.$route.query.sn,
question_index: this.question.question_index

View File

@@ -180,7 +180,7 @@ export default defineComponent({
this.scene = this.config.scene_information;
// 解决缓存问题,答卷时加载场景信息
if(!this.scene) {
if(!this.scene && this.question.question_index) {
var res = await BrowsingRecordApi.getSurveysScene({
sn: this.$route.query.sn,
question_index: this.question.question_index