fix: bug 作答明细的 3D question_index
This commit is contained in:
@@ -207,7 +207,7 @@ export default defineComponent({
|
|||||||
this.scene = this.config.scene_information;
|
this.scene = this.config.scene_information;
|
||||||
|
|
||||||
// 解决缓存问题,答卷时加载场景信息
|
// 解决缓存问题,答卷时加载场景信息
|
||||||
if(!this.scene) {
|
if(!this.scene && this.question.question_index) {
|
||||||
var res = await BrowsingRecordApi.getSurveysScene({
|
var res = await BrowsingRecordApi.getSurveysScene({
|
||||||
sn: this.$route.query.sn,
|
sn: this.$route.query.sn,
|
||||||
question_index: this.question.question_index
|
question_index: this.question.question_index
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ export default defineComponent({
|
|||||||
this.scene = this.config.scene_information;
|
this.scene = this.config.scene_information;
|
||||||
|
|
||||||
// 解决缓存问题,答卷时加载场景信息
|
// 解决缓存问题,答卷时加载场景信息
|
||||||
if(!this.scene) {
|
if(!this.scene && this.question.question_index) {
|
||||||
var res = await BrowsingRecordApi.getSurveysScene({
|
var res = await BrowsingRecordApi.getSurveysScene({
|
||||||
sn: this.$route.query.sn,
|
sn: this.$route.query.sn,
|
||||||
question_index: this.question.question_index
|
question_index: this.question.question_index
|
||||||
|
|||||||
Reference in New Issue
Block a user