|
@@ -69,7 +69,11 @@ import { isNumber } from "lodash-es";
|
|
|
import type { Question } from "@/types";
|
|
|
|
|
|
const arbitrateIndex = computed(() => {
|
|
|
- return store.currentTask?.arbitrateIndex;
|
|
|
+ return store.currentTask?.arbitrateIndex == null
|
|
|
+ ? (store.currentTask?.questionList || []).map(
|
|
|
+ (item: any, index: number) => index + 1
|
|
|
+ ) + ""
|
|
|
+ : store.currentTask?.arbitrateIndex;
|
|
|
});
|
|
|
const arbitrateIndexArr = computed(() => {
|
|
|
let str = arbitrateIndex.value;
|