|
@@ -25,7 +25,6 @@ const examingHomeModule = {
|
|
|
exam: null,
|
|
|
paperStruct: null,
|
|
|
examQuestionList: null,
|
|
|
- currentQuestionInfo: null,
|
|
|
questionFilterType: "ALL",
|
|
|
snapNow: false,
|
|
|
shouldSubmitPaper: false
|
|
@@ -37,9 +36,6 @@ const examingHomeModule = {
|
|
|
updateExamState(state, payload) {
|
|
|
state = Object.assign(state, payload);
|
|
|
},
|
|
|
- updateCurrentQuestionInfo(state, payload) {
|
|
|
- state = Object.assign(state, { currentQuestionInfo: payload });
|
|
|
- },
|
|
|
updateExamResult(state, payload) {
|
|
|
state = Object.assign(state, { examResult: payload });
|
|
|
},
|
|
@@ -77,12 +73,7 @@ const examingHomeModule = {
|
|
|
}
|
|
|
},
|
|
|
actions: {},
|
|
|
- getters: {
|
|
|
- // FIXME: 不需要了
|
|
|
- validQuestions: state => {
|
|
|
- return state.examQuestionList;
|
|
|
- }
|
|
|
- }
|
|
|
+ getters: {}
|
|
|
};
|
|
|
|
|
|
const userStr = window.localStorage.getItem("user-for-reload");
|