|
@@ -372,19 +372,12 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (curStep.type !== "markPaper") {
|
|
|
- const opos = this.steps.otherStep.findIndex(
|
|
|
- item => item.type === curStep.type
|
|
|
- );
|
|
|
- this.steps.otherStep[opos].count -= count;
|
|
|
- }
|
|
|
+ const opos = this.steps.otherStep.findIndex(
|
|
|
+ item => item.type === curStep.type
|
|
|
+ );
|
|
|
+ this.steps.otherStep[opos].count -= count;
|
|
|
|
|
|
- if (curStep.type === "shift") {
|
|
|
- const spos = this.steps.otherStep.findIndex(
|
|
|
- item => item.type === "shiftScore"
|
|
|
- );
|
|
|
- this.steps.otherStep[spos].count += count;
|
|
|
- } else {
|
|
|
+ if (curStep.type !== "shift") {
|
|
|
const pos = this.steps.levelStep.findIndex(
|
|
|
item => item.name === curLevel
|
|
|
);
|