diff --git a/src/stores/modules/tsts.module.ts b/src/stores/modules/tsts.module.ts new file mode 100644 index 0000000000000000000000000000000000000000..3ae7e390911a01376eecb3a5d8264df600bc673a --- /dev/null +++ b/src/stores/modules/tsts.module.ts @@ -0,0 +1,37 @@ +const state = { + questionAnswerObj: {}, + faceSignInfo: {}, + imageFileObj: [] +}; +const mutations = { + setQuestionAnswerObj: (state: any, questionAnswerObj: any) => { + state.questionAnswerObj = questionAnswerObj + }, + setFaceSignInfo: (state: any, faceSignListInfo: any) =>{ + state.faceSignInfo = faceSignListInfo + }, + setImageFileObj: (state: any, imageFileObj: any) =>{ + state.imageFileObj = imageFileObj + }, + addImageFileObj: (state: any, imageFileObj: any) =>{ + state.imageFileObj.push(imageFileObj); + } +}; +const actions = {}; +const getters = { + getQuestionAnswerObj: (state: any) => { + return state.questionAnswerObj; + }, + getFaceSignInfo: (state: any) => { + return state.faceSignInfo; + }, + getImageFileObj: (state: any) => { + return state.imageFileObj; + } +}; +export default { + state, + mutations, + actions, + getters +}; diff --git a/src/views/DepositInterestTrial/CountResult.vue b/src/views/DepositInterestTrial/CountResult.vue index ff5501feb34d9fc2af10a3105c1556f80ef32189..2f662994103d998baaaa5aed88af46e2412cf2dc 100644 --- a/src/views/DepositInterestTrial/CountResult.vue +++ b/src/views/DepositInterestTrial/CountResult.vue @@ -10,7 +10,7 @@